fence-virt: Add 'list-status' operation for compat with other agents
Add a list-status operation that behaves the same way as the list operation for compatibility with the other fence agents. Resolves: rhbz#908455 Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
This commit is contained in:
parent
da1ef15db0
commit
edb5ee817a
@ -243,7 +243,7 @@ assign_op(fence_virt_args_t *args, struct arg_info *arg, char *value)
|
||||
args->op = FENCE_STATUS;
|
||||
} else if (!strcasecmp(value, "monitor")) {
|
||||
args->op = FENCE_DEVSTATUS;
|
||||
} else if (!strcasecmp(value, "list")) {
|
||||
} else if (!strcasecmp(value, "list") || !strcasecmp(value, "list-status")) {
|
||||
args->op = FENCE_HOSTLIST;
|
||||
} else if (!strcasecmp(value, "metadata")) {
|
||||
args->op = FENCE_METADATA;
|
||||
|
Loading…
Reference in New Issue
Block a user