Skip to content

Commit 06e40e9

Browse files
author
Jakob Maier
committed
use get_cf_values instead of get_project_custom_fields
1 parent 5bc9937 commit 06e40e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/vuln_batch_remediation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def main(argv=None): # IGNORE:C0111
203203
hub = HubInstance()
204204
project = hub.get_project_by_name(projectname)
205205
version = hub.get_project_version_by_name(projectname, projectversion)
206-
custom_fields = hub.get_project_custom_fields (project)
206+
custom_fields = hub.get_cf_values (project)
207207

208208
if (process_cve_remediation):
209209
cve_remediation_file = find_custom_field_value (custom_fields, args.cve_remediation_list_custom_field_label)

0 commit comments

Comments
 (0)