Skip to content

Commit 3467863

Browse files
authored
fix: helm deployements stucked in queued for devtron apps (#4842)
1 parent dc0cf7d commit 3467863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/eventProcessor/in/WorkflowEventProcessorService.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ func (impl *WorkflowEventProcessorImpl) handleConcurrentOrInvalidRequest(overrid
680680
if err != nil && err != pg.ErrNoRows {
681681
impl.logger.Errorw("err on fetching pipeline, handleConcurrentOrInvalidRequest", "err", err, "pipelineId", pipelineId)
682682
return toSkipProcess, err
683-
} else if err != pg.ErrNoRows || pipelineObj == nil || pipelineObj.Id == 0 {
683+
} else if err == pg.ErrNoRows || pipelineObj == nil || pipelineObj.Id == 0 {
684684
impl.logger.Warnw("invalid request received pipeline not active, handleConcurrentOrInvalidRequest", "err", err, "pipelineId", pipelineId)
685685
toSkipProcess = true
686686
return toSkipProcess, err

0 commit comments

Comments
 (0)