mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
Rename variable for consistency
This commit is contained in:
6
repmgr.c
6
repmgr.c
@@ -148,7 +148,7 @@ main(int argc, char **argv)
|
|||||||
int optindex;
|
int optindex;
|
||||||
int c, targ;
|
int c, targ;
|
||||||
int action = NO_ACTION;
|
int action = NO_ACTION;
|
||||||
bool check_master_config = false;
|
bool check_upstream_config = false;
|
||||||
bool wal_keep_segments_used = false;
|
bool wal_keep_segments_used = false;
|
||||||
bool config_file_parsed = false;
|
bool config_file_parsed = false;
|
||||||
char *ptr = NULL;
|
char *ptr = NULL;
|
||||||
@@ -259,7 +259,7 @@ main(int argc, char **argv)
|
|||||||
runtime_options.initdb_no_pwprompt = true;
|
runtime_options.initdb_no_pwprompt = true;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
check_master_config = true;
|
check_upstream_config = true;
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
runtime_options.rsync_only = true;
|
runtime_options.rsync_only = true;
|
||||||
@@ -282,7 +282,7 @@ main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(check_master_config == true)
|
if(check_upstream_config == true)
|
||||||
{
|
{
|
||||||
do_check_upstream_config();
|
do_check_upstream_config();
|
||||||
exit(SUCCESS);
|
exit(SUCCESS);
|
||||||
|
|||||||
Reference in New Issue
Block a user