Skip to content

Commit 2a317d9

Browse files
committed
updating status
1 parent 7bfa19e commit 2a317d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/workflow/cd/CdWorkflowRunnerService.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ func (impl *CdWorkflowRunnerServiceImpl) CheckIfWfrLatest(wfrId, pipelineId int)
6565

6666
func (impl *CdWorkflowRunnerServiceImpl) UpdateWfrStatus(dto *bean.CdWorkflowRunnerDto, status string, updatedBy int) error {
6767
runnerDbObj := adapter.ConvertCdWorkflowRunnerDtoToDbObj(dto)
68+
runnerDbObj.Status = status
6869
runnerDbObj.UpdatedBy = int32(updatedBy)
6970
runnerDbObj.UpdatedOn = time.Now()
7071
err := impl.cdWorkflowRepository.UpdateWorkFlowRunner(runnerDbObj)

0 commit comments

Comments
 (0)