summaryrefslogtreecommitdiff
path: root/clustering
diff options
context:
space:
mode:
Diffstat (limited to 'clustering')
-rw-r--r--clustering/znode.py3
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()
-