mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-12-18 11:22:22 -06:00
Adjustment from linting suggestion
This commit is contained in:
@@ -376,7 +376,7 @@ class NetworkDevice():
|
||||
# check if the key Zabbix is defined in the config context
|
||||
if not "zabbix" in self.nb.config_context:
|
||||
return False
|
||||
elif ("proxy" in self.nb.config_context["zabbix"] and
|
||||
if ("proxy" in self.nb.config_context["zabbix"] and
|
||||
not self.nb.config_context["zabbix"]["proxy"]):
|
||||
return False
|
||||
# Proxy group takes priority over a proxy due
|
||||
|
||||
Reference in New Issue
Block a user