Skip to content

Conversation

@bctiemann
Copy link
Contributor

Fixes: #18353

Skips caching the result of an errored call to get_catalog_plugins if ISOLATED_DEPLOYMENT == True. This call to the catalog API already has a short-circuit which returns {} and skips making the API call if ISOLATED_DEPLOYMENT is True; this change makes it so that the error popup does not appear and the errored result is not cached so that if the setting is turned off, the API call attempt will occur again right away.

@jeremystretch jeremystretch merged commit 32422d1 into main Jan 9, 2025
6 checks passed
@jeremystretch jeremystretch deleted the 18353-dont-cache-plugin-catalog-error-isolated branch January 9, 2025 20:21
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plugin list should not try to load from api.netbox.oss.netboxlabs.com when ISOLATED_DEPLOYMENT = True

3 participants