Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita1a475a

Browse files
committed
Merge branch 'default-users' into multihost-catchup
2 parents3b07380 +0a0b0cf commita1a475a

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
ifself.remote:
404-
cmd_list+= ['--remote-proto=ssh','--remote-host=%s'%remote_host]
405+
cmd_list+= [f'--remote-proto=ssh','--remote-host={remote_host}']
406+
ifremote_port:
407+
cmd_list.append(f'--remote-port={remote_port}')
405408
ifself.verbose:
406409
cmd_list+= [
407410
'--log-level-file=VERBOSE',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp