mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
Remove superfluous configuration check
This is already done in parse_config()
This commit is contained in:
@@ -279,12 +279,6 @@ main(int argc, char **argv)
|
||||
/* Retrieve record for this node from the database */
|
||||
node_info = get_node_info(my_local_conn, local_options.cluster_name, local_options.node);
|
||||
|
||||
if(node_info.node_id == -1)
|
||||
{
|
||||
log_err(_("node %i is not registered\n"), local_options.node);
|
||||
terminate(ERR_BAD_CONFIG);
|
||||
}
|
||||
|
||||
log_debug("node id is %i, upstream is %i\n", node_info.node_id, node_info.upstream_node_id);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user