From 46d17d09330a25ea633a8c8c2adc99df4539b58e Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 11 Apr 2019 16:29:08 +0900 Subject: [PATCH] repmgrd: fix log output --- repmgrd-physical.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgrd-physical.c b/repmgrd-physical.c index ab90423e..c2f575d2 100644 --- a/repmgrd-physical.c +++ b/repmgrd-physical.c @@ -3586,7 +3586,7 @@ do_election(NodeInfoList *sibling_nodes, int *new_primary_id) log_info(_("node \"%s\" (ID: %i) reports its upstream is node %i, last seen %i second(s) ago"), cell->node_info->node_name, cell->node_info->node_id, - upstream_node_info.node_id, + sibling_replication_info.upstream_node_id, sibling_replication_info.upstream_last_seen); /*