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

+2-2
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)