mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Rename option "node check --is-shutdown" to "--is-shutdown-cleanly"
As that's what we really want to know. Also return "UNCLEAN_SHUTDOWN" if that's the case, rather than "RUNNING" which is confusing, even though it's a command for internal use.
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
#define OPT_LIST_ACTIONS 1025
|
||||
#define OPT_CHECK 1026
|
||||
#define OPT_CHECKPOINT 1027
|
||||
#define OPT_IS_SHUTDOWN 1028
|
||||
#define OPT_IS_SHUTDOWN_CLEANLY 1028
|
||||
#define OPT_ALWAYS_PROMOTE 1029
|
||||
#define OPT_FORCE_REWIND 1030
|
||||
#define OPT_NAGIOS 1031
|
||||
@@ -133,7 +133,7 @@ static struct option long_options[] =
|
||||
{"siblings-follow", no_argument, NULL, OPT_SIBLINGS_FOLLOW },
|
||||
|
||||
/* "node status" options */
|
||||
{"is-shutdown", no_argument, NULL, OPT_IS_SHUTDOWN },
|
||||
{"is-shutdown-cleanly", no_argument, NULL, OPT_IS_SHUTDOWN_CLEANLY },
|
||||
|
||||
/* "node check" options */
|
||||
{"archive-ready", no_argument, NULL, OPT_ARCHIVE_READY },
|
||||
|
||||
Reference in New Issue
Block a user