mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-12-12 03:19:38 -06:00
Merge c275e08953 into 9cc229c2f7
This commit is contained in:
commit
acd39fb3ad
@ -869,7 +869,9 @@ class PhysicalDevice:
|
||||
|
||||
# Check host tags
|
||||
if config["tag_sync"]:
|
||||
if remove_duplicates(host["tags"], sortkey="tag") == self.tags:
|
||||
if remove_duplicates(host["tags"], sortkey="tag") == remove_duplicates(
|
||||
self.tags, sortkey="tag"
|
||||
):
|
||||
self.logger.debug("Host %s: Tags in-sync.", self.name)
|
||||
else:
|
||||
self.logger.info("Host %s: Tags OUT of sync.", self.name)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user