standby switchover: fix repmgr execution confirmation in --dry-run mode

Inexplicably, "localhost" was hard-coded, rather than the remote host
name.
This commit is contained in:
Ian Barwick
2020-01-29 14:04:37 +09:00
parent 9319f212a9
commit 8b96b14397

View File

@@ -3747,7 +3747,9 @@ do_standby_switchover(void)
if (runtime_options.dry_run == true)
{
log_info(_("able to execute \"%s\" on remote host \"localhost\""), progname());
log_info(_("able to execute \"%s\" on remote host \"%s\""),
progname(),
remote_host);
}
/*