mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
repmgrd: fix error message
This commit is contained in:
@@ -393,8 +393,8 @@ main(int argc, char **argv)
|
||||
local_options.cluster_name);
|
||||
|
||||
master_conn = get_master_connection(my_local_conn,
|
||||
local_options.cluster_name,
|
||||
&master_options.node, NULL);
|
||||
local_options.cluster_name,
|
||||
&master_options.node, NULL);
|
||||
|
||||
if (master_conn == NULL)
|
||||
{
|
||||
@@ -402,8 +402,7 @@ main(int argc, char **argv)
|
||||
initPQExpBuffer(&errmsg);
|
||||
|
||||
appendPQExpBuffer(&errmsg,
|
||||
_("unable to connect to master node '%s'"),
|
||||
master_options.node_name);
|
||||
_("unable to connect to master node"));
|
||||
|
||||
log_err("%s\n", errmsg.data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user