mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 08:38:16 -06:00
17034 refactor from review feedback
This commit is contained in:
parent
0440e7e7b9
commit
65cd124f6f
@ -69,7 +69,7 @@ class Plugin:
|
|||||||
installed_version: str = ''
|
installed_version: str = ''
|
||||||
|
|
||||||
|
|
||||||
def get_local_plugins(plugins):
|
def get_local_plugins(plugins={}):
|
||||||
"""
|
"""
|
||||||
Return a dictionary of all locally-installed plugins, mapped by name.
|
Return a dictionary of all locally-installed plugins, mapped by name.
|
||||||
"""
|
"""
|
||||||
|
@ -774,7 +774,7 @@ STRAWBERRY_DJANGO = {
|
|||||||
# Plugins
|
# Plugins
|
||||||
#
|
#
|
||||||
|
|
||||||
PLUGIN_CATALOG_URL = 'httpxs://api.netbox.oss.netboxlabs.com/v1/plugins'
|
PLUGIN_CATALOG_URL = 'https://api.netbox.oss.netboxlabs.com/v1/plugins'
|
||||||
|
|
||||||
# Register any configured plugins
|
# Register any configured plugins
|
||||||
for plugin_name in PLUGINS:
|
for plugin_name in PLUGINS:
|
||||||
|
Loading…
Reference in New Issue
Block a user