mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
repmgrd: fix syntax
This commit is contained in:
@@ -810,7 +810,7 @@ try_reconnect(PGconn **conn, t_node_info *node_info)
|
|||||||
{
|
{
|
||||||
free_conninfo_params(&conninfo_params);
|
free_conninfo_params(&conninfo_params);
|
||||||
|
|
||||||
log_info(_("connection to node %i succeeded"), node_info.node_id);
|
log_info(_("connection to node %i succeeded"), node_info->node_id);
|
||||||
|
|
||||||
if (PQstatus(*conn) == CONNECTION_BAD)
|
if (PQstatus(*conn) == CONNECTION_BAD)
|
||||||
{
|
{
|
||||||
@@ -844,7 +844,7 @@ try_reconnect(PGconn **conn, t_node_info *node_info)
|
|||||||
}
|
}
|
||||||
|
|
||||||
close_connection(&our_conn);
|
close_connection(&our_conn);
|
||||||
log_notice(_("unable to reconnect to node %i"), node_info.node_id);
|
log_notice(_("unable to reconnect to node %i"), node_info->node_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i + 1 < max_attempts)
|
if (i + 1 < max_attempts)
|
||||||
|
|||||||
Reference in New Issue
Block a user