node check: simplify output generation in --is-shutdown-cleanly check

This commit is contained in:
Ian Barwick
2019-02-22 10:49:06 +09:00
parent 99550b91bd
commit de70fd42dc
2 changed files with 8 additions and 19 deletions

View File

@@ -5954,7 +5954,7 @@ print_node_status(NodeStatus node_status)
case NODE_STATUS_SHUTTING_DOWN:
return "SHUTTING_DOWN";
case NODE_STATUS_DOWN:
return "DOWN";
return "SHUTDOWN";
case NODE_STATUS_UNCLEAN_SHUTDOWN:
return "UNCLEAN_SHUTDOWN";
case NODE_STATUS_REJECTED: