Skip to content

Commit

Permalink
fix: 涉及文本下拉框变量的模板(父流程引用子流程文本值下拉框变量),计划任务、api 任务创建失败 TencentBlueKing#7479
Browse files Browse the repository at this point in the history
  • Loading branch information
lTimej committed Jun 6, 2024
1 parent a073a06 commit e6e9e0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pipeline_plugins/variables/collections/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ def process_info_value(cls, info_value):

@classmethod
def process_meta_value(self, meta_data, info_value):
if isinstance(meta_data["value"], str):
meta_data = meta_data["meta"]
if meta_data["value"]["datasource"] == "1":
# 远程数据源模式下需要记录拉取的数据而不是 URL
meta_value = meta_data["value"]["remote_data"]
Expand Down

0 comments on commit e6e9e0a

Please sign in to comment.