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