mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
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:
@@ -3827,7 +3827,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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user