mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-08 02:01:31 -07:00
Fix module arg parsing when 'args' are present but not a dict (v2)
This commit is contained in:
parent
6a44056d76
commit
8cf4452d48
2 changed files with 6 additions and 1 deletions
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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue