mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2026-01-15 00:02:27 -06:00
Compare commits
1 Commits
develop
...
c275e08953
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c275e08953 |
@@ -869,7 +869,9 @@ class PhysicalDevice:
|
|||||||
|
|
||||||
# Check host tags
|
# Check host tags
|
||||||
if config["tag_sync"]:
|
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)
|
self.logger.debug("Host %s: Tags in-sync.", self.name)
|
||||||
else:
|
else:
|
||||||
self.logger.info("Host %s: Tags OUT of sync.", self.name)
|
self.logger.info("Host %s: Tags OUT of sync.", self.name)
|
||||||
|
|||||||
Reference in New Issue
Block a user