mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-24 15:46:29 +00:00
Rename copy_configuration () to witness_copy_node_records()
As it's witness-specific. Per suggestion from Martín.
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -3808,7 +3808,7 @@ do_witness_create(void)
|
||||
|
||||
|
||||
/* copy configuration from master, only repl_nodes is needed */
|
||||
if (!copy_configuration(masterconn, witnessconn, options.cluster_name))
|
||||
if (!witness_copy_node_records(masterconn, witnessconn, options.cluster_name))
|
||||
{
|
||||
create_event_record(masterconn,
|
||||
&options,
|
||||
|
||||
Reference in New Issue
Block a user