diff options
author | Brian Coca <bcoca@ansible.com> | 2015-12-13 10:45:05 -0500 |
---|---|---|
committer | Brian Coca <bcoca@ansible.com> | 2015-12-13 10:45:05 -0500 |
commit | 6580867f33605fd331944cf604270509e68eb166 (patch) | |
tree | 4eca79bd9386ea7b4052d70508a0737d412e1952 | |
parent | b51a662258847d4ba63e88cf49a1765c1e1bf395 (diff) | |
parent | 90327ad76bbcc54b7e0b04870fb369be5e7e3fc3 (diff) | |
download | ansible-modules-extras-win_power_scheme.tar.gz |
Merge pull request #1359 from twmartin/znode-obj-not-iterablewin_power_scheme
Correct 'object not iterable' TypeError
-rw-r--r-- | clustering/znode.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clustering/znode.py b/clustering/znode.py index 51ab51d0..d5913c77 100644 --- a/clustering/znode.py +++ b/clustering/znode.py @@ -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() - |