mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-14 01:41:25 -06:00
Fixed #11
This commit is contained in:
parent
92e9a1149c
commit
ea680aa1f5
@ -282,7 +282,7 @@ class NetworkDevice():
|
||||
OUTPUT: True
|
||||
"""
|
||||
if(not self.template_name):
|
||||
e = (f"Device template '{self.nb.device_type.display_name}' "
|
||||
e = (f"Device template '{self.nb.device_type.display}' "
|
||||
"has no Zabbix template defined.")
|
||||
logger.info(e)
|
||||
raise SyncInventoryError()
|
||||
|
Loading…
Reference in New Issue
Block a user