mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 09:13:12 +00:00
Merge pull request #3621 from sergevanginderachter/rename2flattened
also rename plugin name in error message
This commit is contained in:
@@ -71,7 +71,7 @@ class LookupModule(object):
|
||||
terms = utils.listify_lookup_plugin_terms(terms, self.basedir, inject)
|
||||
|
||||
if not isinstance(terms, list):
|
||||
raise errors.AnsibleError("with_flat_list expects a list")
|
||||
raise errors.AnsibleError("with_flattened expects a list")
|
||||
|
||||
ret = self.flatten(terms, inject)
|
||||
return ret
|
||||
|
||||
Reference in New Issue
Block a user