Adjustment from linting suggestion

This commit is contained in:
Raymond Kuiper
2024-07-24 11:05:35 +02:00
committed by GitHub
parent 2094799a51
commit 07049ea6d8

View File

@@ -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