Skip to content

Commit df91800

Browse files
author
vshepard
committed
Add probackup_path to ProbackupApp
pg_probackup2/app.py
1 parent 8a25cb3 commit df91800

File tree

1 file changed

+2
-2
lines changed
  • testgres/plugins/pg_probackup2/pg_probackup2

1 file changed

+2
-2
lines changed

testgres/plugins/pg_probackup2/pg_probackup2/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ def __str__(self):
4343
class ProbackupApp:
4444

4545
def __init__(self, test_class: unittest.TestCase,
46-
pg_node, pb_log_path, test_env, auto_compress_alg, backup_dir):
46+
pg_node, pb_log_path, test_env, auto_compress_alg, backup_dir, probackup_path):
4747
self.test_class = test_class
4848
self.pg_node = pg_node
4949
self.pb_log_path = pb_log_path
5050
self.test_env = test_env
5151
self.auto_compress_alg = auto_compress_alg
5252
self.backup_dir = backup_dir
53-
self.probackup_path = init_params.probackup_path
53+
self.probackup_path = probackup_path if probackup_path else init_params.probackup_path
5454
self.probackup_old_path = init_params.probackup_old_path
5555
self.remote = init_params.remote
5656
self.verbose = init_params.verbose

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy