summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ansible/module_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/module_common.py b/lib/ansible/module_common.py
index b7e750f61b..4ed02f732a 100644
--- a/lib/ansible/module_common.py
+++ b/lib/ansible/module_common.py
@@ -481,7 +481,7 @@ class AnsibleModule(object):
if spec is None:
return
for check in spec:
- counts = [ self.count_terms([field]) for field in check ]
+ counts = [ self._count_terms([field]) for field in check ]
non_zero = [ c for c in counts if c > 0 ]
if len(non_zero) > 0:
if 0 in counts: