mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-13 15:24:48 -06:00
Fixed invalid mapper log message even when not using the inventory mapping function.
This commit is contained in:
parent
2b92f8da9b
commit
4de022496e
@ -236,8 +236,8 @@ class NetworkDevice():
|
||||
# Value is not a string or numeral, probably not what the user expected.
|
||||
self.logger.error(f"Device {self.name}: Inventory lookup for '{nb_inv_field}'"
|
||||
" returned an unexpected type: it will be skipped.")
|
||||
self.logger.debug(f"Device {self.name}: Inventory mapping complete. "
|
||||
f"Mapped {len(list(filter(None, self.inventory.values())))} field(s)")
|
||||
self.logger.debug(f"Device {self.name}: Inventory mapping complete. "
|
||||
f"Mapped {len(list(filter(None, self.inventory.values())))} field(s)")
|
||||
return True
|
||||
|
||||
def isCluster(self):
|
||||
|
Loading…
Reference in New Issue
Block a user