Skip to content
Snippets Groups Projects
Commit 7180d0e9 authored by Morris Jette's avatar Morris Jette
Browse files

Correct possible sinfo node states for filtering

Use full state names rather than abbreviated form in reporting possible values
bug 1413
parent 1e462faf
No related branches found
No related tags found
No related merge requests found
......@@ -305,14 +305,9 @@ List nodes only having the given state(s). Multiple states
may be comma separated and the comparison is case insensitive.
Possible values include (case insensitive): ALLOC, ALLOCATED,
COMP, COMPLETING, DOWN, DRAIN (for node in DRAINING or DRAINED
states), DRAINED, DRAINING, ERR, ERROR, FAIL, FAILING, FUTURE, FUTR,
states), DRAINED, DRAINING, ERR, ERROR, FAIL, FUTURE, FUTR,
IDLE, MAINT, MIX, MIXED, NO_RESPOND, NPC, PERFCTRS,
POWER_DOWN, POWER_UP, RESV, RESERVED, UNK, and UNKNOWN.
Possible states include: allocated, completing, down,
drained, draining, fail, failing, future, idle, maint, mixed,
perfctrs, power_down, power_up, reserved, and unknown plus
By default nodes in the specified state are reported whether
they are responding or not.
The \fB\-\-dead\fR and \fB\-\-responding\fR options may be
......
......@@ -452,7 +452,7 @@ _node_state_list (void)
if (all_states)
return (all_states);
all_states = xstrdup (node_state_string_compact (0));
all_states = xstrdup (node_state_string(0));
for (i = 1; i < NODE_STATE_END; i++) {
xstrcat (all_states, ",");
xstrcat (all_states, node_state_string(i));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment