1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 05:09:12 +00:00

Remove trailing white spaces

This commit is contained in:
dridiha 2026-03-02 22:29:51 +01:00
parent 174dfb4323
commit 0d56c96bcc

View file

@ -174,15 +174,16 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable):
valid = True
return valid
def _is_plugin_interposer(self):
return self._cache._plugin._persistent
def _get_value_from_cache(self, cache_key):
if not self._is_plugin_interposer():
self._cache[cache_key] = self._cache._plugin.get(cache_key)
self._cache._retrieved = self._cache
self._cache._retrieved = self._cache
return self._cache[cache_key]
def parse(self, inventory, loader, path, cache=True):