bugfix: uncall an uncallable dict
This commit is contained in:
parent
19da801665
commit
21d1cd81f7
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ def main():
|
||||||
|
|
||||||
command_type = 'op' if 'op' in module.params and module.params['op'] is not None else 'state'
|
command_type = 'op' if 'op' in module.params and module.params['op'] is not None else 'state'
|
||||||
method = module.params[command_type]
|
method = module.params[command_type]
|
||||||
result, result_dict = command_dict[command_type][method]()
|
result, result_dict = command_dict[command_type][method]
|
||||||
zoo.shutdown()
|
zoo.shutdown()
|
||||||
|
|
||||||
if result:
|
if result:
|
||||||
|
|
Loading…
Reference in a new issue