From d76707a96d775ef804ebfcb08c765159d69b6d59 Mon Sep 17 00:00:00 2001 From: Ash-exp Date: Wed, 27 Mar 2024 22:05:25 +0530 Subject: [PATCH] fix: helm deployements stucked in queued for devtron apps --- pkg/eventProcessor/in/WorkflowEventProcessorService.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/eventProcessor/in/WorkflowEventProcessorService.go b/pkg/eventProcessor/in/WorkflowEventProcessorService.go index b997b5ca54..42ce401233 100644 --- a/pkg/eventProcessor/in/WorkflowEventProcessorService.go +++ b/pkg/eventProcessor/in/WorkflowEventProcessorService.go @@ -680,7 +680,7 @@ func (impl *WorkflowEventProcessorImpl) handleConcurrentOrInvalidRequest(overrid if err != nil && err != pg.ErrNoRows { impl.logger.Errorw("err on fetching pipeline, handleConcurrentOrInvalidRequest", "err", err, "pipelineId", pipelineId) return toSkipProcess, err - } else if err != pg.ErrNoRows || pipelineObj == nil || pipelineObj.Id == 0 { + } else if err == pg.ErrNoRows || pipelineObj == nil || pipelineObj.Id == 0 { impl.logger.Warnw("invalid request received pipeline not active, handleConcurrentOrInvalidRequest", "err", err, "pipelineId", pipelineId) toSkipProcess = true return toSkipProcess, err