This commit is contained in:
Wouter de Bruijn 2025-12-02 10:27:39 +01:00 committed by GitHub
commit acd39fb3ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)