Skip to content

Commit a1a475a

Browse files
committed
Merge branch 'default-users' into multihost-catchup
2 parents 3b07380 + 0a0b0cf commit a1a475a

File tree

1 file changed

+4
-1
lines changed
  • testgres/plugins/pg_probackup2/pg_probackup2

1 file changed

+4
-1
lines changed

testgres/plugins/pg_probackup2/pg_probackup2/app.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ def catchup_node(
388388
backup_mode, source_pgdata, destination_node,
389389
options=None,
390390
remote_host='localhost',
391+
remote_port=None,
391392
expect_error=False,
392393
gdb=False
393394
):
@@ -401,7 +402,9 @@ def catchup_node(
401402
'--destination-pgdata={0}'.format(destination_node.data_dir)
402403
]
403404
if self.remote:
404-
cmd_list += ['--remote-proto=ssh', '--remote-host=%s' % remote_host]
405+
cmd_list += [f'--remote-proto=ssh', '--remote-host={remote_host}']
406+
if remote_port:
407+
cmd_list.append(f'--remote-port={remote_port}')
405408
if self.verbose:
406409
cmd_list += [
407410
'--log-level-file=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