From 9f0d44373b69d81c50030cb129120928c5521cc5 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 5 Sep 2017 13:35:25 +0900 Subject: [PATCH] "cluster show": syntax fix --- repmgr-action-cluster.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repmgr-action-cluster.c b/repmgr-action-cluster.c index 5660d214..7fe24404 100644 --- a/repmgr-action-cluster.c +++ b/repmgr-action-cluster.c @@ -164,11 +164,13 @@ do_cluster_show(void) cell->node_info->node_name, cell->node_info->node_id); } else + { appendPQExpBuffer(&details, "! running as standby"); item_list_append_format( &warnings, "node \"%s\" (ID: %i) is registered as an inactive primary but running as standby", cell->node_info->node_name, cell->node_info->node_id); + } } } /* node is unreachable */