mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-12-19 20:02:20 -06:00
corrected linting errors and a minor bug in cf_to_string
This commit is contained in:
@@ -82,7 +82,7 @@ def main(arguments):
|
||||
device_cfs = []
|
||||
vm_cfs = []
|
||||
device_cfs = list(
|
||||
netbox.extras.custom_fields.filter(type=["text","object","select"],
|
||||
netbox.extras.custom_fields.filter(type=["text","object","select"],
|
||||
content_types="dcim.device")
|
||||
)
|
||||
verify_hg_format(
|
||||
@@ -91,7 +91,7 @@ def main(arguments):
|
||||
if config["sync_vms"]:
|
||||
vm_cfs = list(
|
||||
netbox.extras.custom_fields.filter(
|
||||
type=["text","object","select"],
|
||||
type=["text","object","select"],
|
||||
content_types="virtualization.virtualmachine"
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user