Return results even when the cache is disabled (#55505)

* Return results even when the cache is disabled

By default the cache is disabled and so the results of the API call
are not placed in there for the return statement to fetch.

* Always update self._cache to return
This commit is contained in:
Matt Williams
2019-05-28 18:44:00 +01:00
committed by Brian Coca
parent a837cc5694
commit cf00883c9d
2 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- Fix foreman inventory plugin when inventory caching is disabled