mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-16 04:02:56 -06:00
Adjustment from linting suggestion
This commit is contained in:
parent
2094799a51
commit
07049ea6d8
@ -376,7 +376,7 @@ class NetworkDevice():
|
|||||||
# check if the key Zabbix is defined in the config context
|
# check if the key Zabbix is defined in the config context
|
||||||
if not "zabbix" in self.nb.config_context:
|
if not "zabbix" in self.nb.config_context:
|
||||||
return False
|
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"]):
|
not self.nb.config_context["zabbix"]["proxy"]):
|
||||||
return False
|
return False
|
||||||
# Proxy group takes priority over a proxy due
|
# Proxy group takes priority over a proxy due
|
||||||
|
Loading…
Reference in New Issue
Block a user