mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
Allow "CLUSTER EVENTS" as synonym for "CLUSTER EVENT"
This commit is contained in:
@@ -629,6 +629,10 @@ main(int argc, char **argv)
|
|||||||
action = CLUSTER_SHOW;
|
action = CLUSTER_SHOW;
|
||||||
else if (strcasecmp(repmgr_action, "EVENT") == 0)
|
else if (strcasecmp(repmgr_action, "EVENT") == 0)
|
||||||
action = CLUSTER_EVENT;
|
action = CLUSTER_EVENT;
|
||||||
|
/* allow "CLUSTER EVENTS" as synonym for "CLUSTER EVENT" */
|
||||||
|
else if (strcasecmp(repmgr_action, "EVENTS") == 0)
|
||||||
|
action = CLUSTER_EVENT;
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user