Commit 4fb147bf authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix wrong variable name.


git-svn-id: https://svn.erp5.org/repos/neo/trunk@1336 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent f281c6a5
......@@ -49,7 +49,7 @@ class TerminalNeoCTL(object):
return protocol.node_states.getFromStr(value)
def asNodeType(self, value):
return NodeTypes.getByName(values.upper())
return NodeTypes.getByName(value.upper())
def asClusterState(self, value):
return ClusterStates.getByName(value.upper())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment