mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-16 04:02:56 -06:00
corrected typo
This commit is contained in:
parent
753633e7d2
commit
2a3d586302
@ -135,7 +135,7 @@ class PhysicalDevice:
|
|||||||
self.hostgroups = [hg.generate(f) for f in hg_format]
|
self.hostgroups = [hg.generate(f) for f in hg_format]
|
||||||
else:
|
else:
|
||||||
self.hostgroups.append(hg.generate(hg_format))
|
self.hostgroups.append(hg.generate(hg_format))
|
||||||
# Remove dyuplicates and None values
|
# Remove duplicates and None values
|
||||||
self.hostgroups = list(filter(None, list(set(self.hostgroups))))
|
self.hostgroups = list(filter(None, list(set(self.hostgroups))))
|
||||||
if self.hostgroups:
|
if self.hostgroups:
|
||||||
self.logger.debug(f"Host {self.name}: Should be member "
|
self.logger.debug(f"Host {self.name}: Should be member "
|
||||||
|
Loading…
Reference in New Issue
Block a user