mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +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:
committed by
Ian Barwick
parent
bf15c0d40f
commit
8cd1811edb
@@ -1558,8 +1558,8 @@ do_standby_register(void)
|
|||||||
exit(ERR_BAD_CONFIG);
|
exit(ERR_BAD_CONFIG);
|
||||||
}
|
}
|
||||||
log_warning(_("this node does not appear to be attached to upstream node \"%s\" (ID: %i)"),
|
log_warning(_("this node does not appear to be attached to upstream node \"%s\" (ID: %i)"),
|
||||||
config_file_options.node_name,
|
upstream_node_record.node_name,
|
||||||
config_file_options.node_id);
|
upstream_node_record.node_id);
|
||||||
}
|
}
|
||||||
PQfinish(upstream_conn);
|
PQfinish(upstream_conn);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user