mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56: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;
|
||||
else if (strcasecmp(repmgr_action, "EVENT") == 0)
|
||||
action = CLUSTER_EVENT;
|
||||
/* allow "CLUSTER EVENTS" as synonym for "CLUSTER EVENT" */
|
||||
else if (strcasecmp(repmgr_action, "EVENTS") == 0)
|
||||
action = CLUSTER_EVENT;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user