mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 00:26:30 +00:00
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:
2
repmgr.c
2
repmgr.c
@@ -1866,7 +1866,7 @@ do_standby_clone(void)
|
|||||||
if (command_ok == false)
|
if (command_ok == false)
|
||||||
{
|
{
|
||||||
log_err(_("No valid backup for server %s was found in the Barman catalogue\n"),
|
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"));
|
log_hint(_("Refer to the Barman documentation for more information\n"));
|
||||||
|
|
||||||
exit(ERR_BARMAN);
|
exit(ERR_BARMAN);
|
||||||
|
|||||||
Reference in New Issue
Block a user