Commit 5b1a0f79 by Michael DeHaan

Merge pull request #1926 from akerl/requiredcheck

fixed check for required_together
parents 0030a2bd f4eed371
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment