mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
Fix bug in nested lookup where pop is called indiscriminately
This commit is contained in:
@@ -27,7 +27,7 @@ class LookupModule(LookupBase):
|
||||
|
||||
def _lookup_variables(self, terms, variables):
|
||||
foo = variables.copy()
|
||||
foo.pop('vars')
|
||||
foo.pop('vars', None)
|
||||
results = []
|
||||
for x in terms:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user