mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
"repmgr node status": correct upstream node info (#363)
repmgr was printing the name and ID of this node instead of its upstream Signed-off-by: Tony Finch <dot@dotat.at>
This commit is contained in:
@@ -314,8 +314,8 @@ do_node_status(void)
|
||||
key_value_list_set_format(&node_status,
|
||||
"Upstream node",
|
||||
"%s (ID: %i)",
|
||||
node_info.node_name,
|
||||
node_info.node_id);
|
||||
node_info.upstream_node_name,
|
||||
node_info.upstream_node_id);
|
||||
|
||||
get_replication_info(conn, &replication_info);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user