fixed check for required_together
This commit is contained in:
parent
0030a2bd09
commit
f4eed3710b
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue