1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Correct 'object not iterable' TypeError

This commit is contained in:
twmartin 2015-12-10 09:49:58 -06:00 committed by Matt Clay
parent e5970186ad
commit 33ee8d6f89

View file

@ -122,7 +122,7 @@ def main():
command_type = 'op' if 'op' in module.params and module.params['op'] is not None else 'state'
method = module.params[command_type]
result, result_dict = command_dict[command_type][method]
result, result_dict = command_dict[command_type][method]()
zoo.shutdown()
if result:
@ -225,4 +225,3 @@ class KazooCommandProxy():
from ansible.module_utils.basic import *
main()