mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Fix module arg parsing when 'args' are present but not a dict (v2)
This commit is contained in:
1
v2/ansible/plugins/cache/__init__.py
vendored
1
v2/ansible/plugins/cache/__init__.py
vendored
@@ -27,6 +27,7 @@ class FactCache(MutableMapping):
|
||||
def __init__(self, *args, **kwargs):
|
||||
self._plugin = cache_loader.get(C.CACHE_PLUGIN)
|
||||
if self._plugin is None:
|
||||
# FIXME: this should be an exception
|
||||
return
|
||||
|
||||
def __getitem__(self, key):
|
||||
|
||||
Reference in New Issue
Block a user