repmgr: fix Barman error message in standy clone

Report the Barman catalogue name for the managed server, not the
hostname of the Barman server itself.
This commit is contained in:
Ian Barwick
2016-08-31 13:50:16 +09:00
parent 5276cb279c
commit d12ecba63c

View File

@@ -1866,7 +1866,7 @@ do_standby_clone(void)
if (command_ok == false)
{
log_err(_("No valid backup for server %s was found in the Barman catalogue\n"),
options.barman_server);
options.cluster_name);
log_hint(_("Refer to the Barman documentation for more information\n"));
exit(ERR_BARMAN);