2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 17:43:14 +00:00

Add "shutdown" as a valid InputPowerMessage to prevent this Bad Request Error:

Error: Bad Request - shutdown is not one of reset,on,boot,off
This commit is contained in:
Victor Hu 2015-05-06 11:55:07 -04:00
parent 7baec5a69f
commit bfc7ea2b51

View File

@ -421,6 +421,7 @@ class InputPowerMessage(ConfluentInputMessage):
'off',
'reset',
'boot',
'shutdown',
])
def powerstate(self, node):