Skip to content

Commit 5f87dfe

Browse files
committed
bug fix: correct json field name
1 parent 0004ae8 commit 5f87dfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/pipeline/bean/CdHandlerBean.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type CdWorkflowWithArtifact struct {
2121
TriggeredBy int32 `json:"triggered_by"`
2222
EmailId string `json:"email_id"`
2323
Image string `json:"image"`
24-
TargetPlatforms []*TargetPlatform `json:"target_platforms"`
24+
TargetPlatforms []*TargetPlatform `json:"targetPlatforms"`
2525
MaterialInfo string `json:"material_info,omitempty"`
2626
DataSource string `json:"data_source,omitempty"`
2727
CiArtifactId int `json:"ci_artifact_id,omitempty"`

0 commit comments

Comments
 (0)