This commit is contained in:
Twan Kamans 2021-10-01 12:01:58 +02:00
parent 92e9a1149c
commit ea680aa1f5

View File

@ -282,7 +282,7 @@ class NetworkDevice():
OUTPUT: True OUTPUT: True
""" """
if(not self.template_name): 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.") "has no Zabbix template defined.")
logger.info(e) logger.info(e)
raise SyncInventoryError() raise SyncInventoryError()