mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 08:06:29 +00:00
Fix variable declarations
This commit is contained in:
@@ -2562,8 +2562,8 @@ do_node_rejoin(void)
|
|||||||
|
|
||||||
for (; i < config_file_options.node_rejoin_timeout; i++)
|
for (; i < config_file_options.node_rejoin_timeout; i++)
|
||||||
{
|
{
|
||||||
NodeStatus node_attached = is_downstream_node_attached(primary_conn,
|
NodeAttached node_attached = is_downstream_node_attached(primary_conn,
|
||||||
config_file_options.node_name);
|
config_file_options.node_name);
|
||||||
|
|
||||||
if (node_attached == NODE_ATTACHED)
|
if (node_attached == NODE_ATTACHED)
|
||||||
{
|
{
|
||||||
@@ -2613,7 +2613,7 @@ do_node_rejoin(void)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* -W/--no-wait provided - check once */
|
/* -W/--no-wait provided - check once */
|
||||||
NodeStatus node_attached = is_downstream_node_attached(primary_conn, config_file_options.node_name);
|
NodeAttached node_attached = is_downstream_node_attached(primary_conn, config_file_options.node_name);
|
||||||
if (node_attached == NODE_ATTACHED)
|
if (node_attached == NODE_ATTACHED)
|
||||||
success = true;
|
success = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user