Skip to content

Commit a24f226

Browse files
authored
Merge pull request #1186 from MrDiba/patch-2
Added custom-field-choice-sets to nb_lookup.py
2 parents b24788a + 2f78ad2 commit a24f226

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/lookup/nb_lookup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ 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": {
185+
"endpoint": netbox.extras.custom_field_choice_sets
186+
},
184187
"custom-links": {"endpoint": netbox.extras.custom_links},
185188
"device-bay-templates": {"endpoint": netbox.dcim.device_bay_templates},
186189
"device-bays": {"endpoint": netbox.dcim.device_bays},

0 commit comments

Comments
 (0)