mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Fix upstream node name in warning
This log_warning is supposed to reproduce the error in the block above, but used the current node's name instead of the intended upstream node.
This commit is contained in:
@@ -1558,8 +1558,8 @@ do_standby_register(void)
|
||||
exit(ERR_BAD_CONFIG);
|
||||
}
|
||||
log_warning(_("this node does not appear to be attached to upstream node \"%s\" (ID: %i)"),
|
||||
config_file_options.node_name,
|
||||
config_file_options.node_id);
|
||||
upstream_node_record.node_name,
|
||||
upstream_node_record.node_id);
|
||||
}
|
||||
PQfinish(upstream_conn);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user