Skip to content

Commit

Permalink
add remark handling for workflow in release plan (#3975)
Browse files Browse the repository at this point in the history
Signed-off-by: Min Min <[email protected]>
  • Loading branch information
jamsman94 authored Jan 26, 2025
1 parent 35011b7 commit 9aa7247
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/microservice/aslan/core/release_plan/service/execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ func (e *WorkflowReleaseJobExecutor) Execute(plan *models.ReleasePlan) error {
}
}

originalWorkflow.Remark = spec.Workflow.Remark

ctx := e.Ctx
result, err := workflow.CreateWorkflowTaskV4(&workflow.CreateWorkflowTaskV4Args{
Name: ctx.UserName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ func GetReleasePlan(id string) (*models.ReleasePlan, error) {
}
}

originalWorkflow.Remark = spec.Workflow.Remark

spec.Workflow = originalWorkflow
releasePlanJob.Spec = spec
}
Expand Down

0 comments on commit 9aa7247

Please sign in to comment.