Skip to content

Commit

Permalink
bugfix: 修复标准运维节点引用 display 变量失效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshuaikang committed Dec 6, 2023
1 parent 4f45120 commit 5192147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion itsm/pipeline_plugins/components/collections/bk_sops.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class BkOpsService(ItsmBaseService):
interval = StaticIntervalGenerator(3)

def prepare_task_params(self, state, ticket, sops_info):
values = ticket.get_output_fields(return_format="dict")
values = ticket.get_output_fields(return_format="dict", need_display=True)
if sops_info["bk_biz_id"]["value_type"] == "variable":
bk_biz_id = values.get(sops_info["bk_biz_id"]["value"], 0)
else:
Expand Down

0 comments on commit 5192147

Please sign in to comment.