mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-12-11 10:59:37 -06:00
corrected linting error
This commit is contained in:
parent
422d343c1f
commit
bc12064b6a
@ -82,7 +82,8 @@ def main(arguments):
|
||||
device_cfs = []
|
||||
vm_cfs = []
|
||||
device_cfs = list(
|
||||
netbox.extras.custom_fields.filter(type=["text","object","select"], content_types="dcim.device")
|
||||
netbox.extras.custom_fields.filter(type=["text","object","select"],
|
||||
content_types="dcim.device")
|
||||
)
|
||||
verify_hg_format(
|
||||
config["hostgroup_format"], device_cfs=device_cfs, hg_type="dev", logger=logger
|
||||
@ -90,7 +91,8 @@ def main(arguments):
|
||||
if config["sync_vms"]:
|
||||
vm_cfs = list(
|
||||
netbox.extras.custom_fields.filter(
|
||||
type=["text","object","select"], content_types="virtualization.virtualmachine"
|
||||
type=["text","object","select"],
|
||||
content_types="virtualization.virtualmachine"
|
||||
)
|
||||
)
|
||||
verify_hg_format(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user