Commit dbbcc599 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix drop node command in neoctl, only one UUID is allowed as parameter.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@937 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 7aa40c49
...@@ -138,8 +138,8 @@ def dropNode(options): ...@@ -138,8 +138,8 @@ def dropNode(options):
non-replicated data. non-replicated data.
Parameter: UUID Parameter: UUID
""" """
uuid_list = [bin(opt) for opt in options] uuid = bin(options.pop(0))
return protocol.setNodeState(uuid_list, protocol.DOWN_STATE, 1) return protocol.setNodeState(uuid, protocol.DOWN_STATE, 1)
action_dict = { action_dict = {
......
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