Add 'monitor' as an alias for 'status'
Makes the CRM happier. Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
This commit is contained in:
parent
841d76fb1a
commit
450ffdb26a
@ -199,6 +199,8 @@ assign_op(fence_virt_args_t *args, struct arg_info *arg, char *value)
|
||||
args->op = FENCE_REBOOT;
|
||||
} else if (!strcasecmp(value, "status")) {
|
||||
args->op = FENCE_STATUS;
|
||||
} else if (!strcasecmp(value, "monitor")) {
|
||||
args->op = FENCE_STATUS;
|
||||
} else if (!strcasecmp(value, "devstatus")) {
|
||||
args->op = FENCE_DEVSTATUS;
|
||||
} else if (!strcasecmp(value, "hostlist")) {
|
||||
@ -673,6 +675,7 @@ args_metadata(char *progname, const char *optstr)
|
||||
printf("\t<action name=\"reboot\" />\n");
|
||||
printf("\t<action name=\"metadata\" />\n");
|
||||
printf("\t<action name=\"status\" />\n");
|
||||
printf("\t<action name=\"monitor\" />\n");
|
||||
printf("\t<action name=\"devstatus\" />\n");
|
||||
printf("\t<action name=\"hostlist\" />\n");
|
||||
printf("</actions>\n");
|
||||
|
Loading…
Reference in New Issue
Block a user