Rolled back contaminated code meant for #27 in main branch, issue created in #34

This commit is contained in:
TheNetworkGuy 2023-04-12 17:53:10 +02:00
parent e269b28381
commit 75d822f62a

View File

@ -213,7 +213,7 @@ class NetworkDevice():
logger.warning(e) logger.warning(e)
raise SyncInventoryError(e) raise SyncInventoryError(e)
# Gather device Zabbix templates # Gather device Zabbix template
device_type_cf = self.nb.device_type.custom_fields device_type_cf = self.nb.device_type.custom_fields
if(template_cf in device_type_cf): if(template_cf in device_type_cf):
self.template_name = device_type_cf[template_cf] self.template_name = device_type_cf[template_cf]