From d12ecba63c533a2b71eb02cb81d1fe6e33054ded Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 31 Aug 2016 13:50:16 +0900 Subject: [PATCH] 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. --- repmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr.c b/repmgr.c index 7bb1817d..072ec76a 100644 --- a/repmgr.c +++ b/repmgr.c @@ -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);