Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Return results even when the cache is disabled #55505
As a result of #50446 (I think) the Foreman inventory plugin no longer returns any results.
The line where the results of the Foreman API call are placed into the cache are guarded by a statement which only runs if the cache is enabled. When returning from the function, the value from the cache is always returned which – if noting was put in there – returns nothing.
Foreman inventory plugin