From 9c7e23f29e1913b9b2ce93e72d7a3320b58d1676 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 26 May 2022 17:41:54 -0400 Subject: [PATCH] Add missing nodepower statuses --- confluent_client/bin/nodepower | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/nodepower b/confluent_client/bin/nodepower index dffa241c..ccbf41bf 100755 --- a/confluent_client/bin/nodepower +++ b/confluent_client/bin/nodepower @@ -55,7 +55,7 @@ if len(args) > 1: if setstate == 'softoff': setstate = 'shutdown' -if setstate not in (None, 'on', 'off', 'shutdown', 'boot', 'reset', 'pdu_status', 'pdu_stat', 'pdu_on', 'pdu_off'): +if setstate not in (None, 'on', 'off', 'shutdown', 'boot', 'reset', 'pdu_status', 'pdu_stat', 'pdu_on', 'pdu_off', 'status', 'stat', 'state'): argparser.print_help() sys.exit(1) session = client.Command()