mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-15 03:32:56 -06:00
Fixed whitespace
This commit is contained in:
parent
7bf72de0f9
commit
d598a9739a
@ -189,13 +189,13 @@ def main(arguments):
|
|||||||
# Check if device is primary or secondary
|
# Check if device is primary or secondary
|
||||||
if device.promoteMasterDevice():
|
if device.promoteMasterDevice():
|
||||||
e = (f"Device {device.name}: is "
|
e = (f"Device {device.name}: is "
|
||||||
f"part of cluster and primary.")
|
f"part of cluster and primary.")
|
||||||
logger.info(e)
|
logger.info(e)
|
||||||
else:
|
else:
|
||||||
# Device is secondary in cluster.
|
# Device is secondary in cluster.
|
||||||
# Don't continue with this device.
|
# Don't continue with this device.
|
||||||
e = (f"Device {device.name}: is part of cluster "
|
e = (f"Device {device.name}: is part of cluster "
|
||||||
f"but not primary. Skipping this host...")
|
f"but not primary. Skipping this host...")
|
||||||
logger.info(e)
|
logger.info(e)
|
||||||
continue
|
continue
|
||||||
# Checks if device is in cleanup state
|
# Checks if device is in cleanup state
|
||||||
|
Loading…
Reference in New Issue
Block a user