Skip to content

Commit 68e7e5e

Browse files
authored
Added custom-field-choice-sets to nb_lookup.py
Since NetBox v3.6.0 the custom fields and the choices are splitted.
1 parent 9bddc60 commit 68e7e5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/lookup/nb_lookup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ def get_endpoint(netbox, term):
181181
"console-server-ports": {"endpoint": netbox.dcim.console_server_ports},
182182
"content-types": {"endpoint": netbox.extras.content_types},
183183
"custom-fields": {"endpoint": netbox.extras.custom_fields},
184+
"custom-field-choice-sets": {"endpoint": netbox.extras.custom_field_choice_sets},
184185
"custom-links": {"endpoint": netbox.extras.custom_links},
185186
"device-bay-templates": {"endpoint": netbox.dcim.device_bay_templates},
186187
"device-bays": {"endpoint": netbox.dcim.device_bays},

0 commit comments

Comments
 (0)