Skip to content

Commit 0e7e4ab

Browse files
panic fix (#6188)
1 parent 2afdd40 commit 0e7e4ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/eventProcessor/in/WorkflowEventProcessorService.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,6 @@ func (impl *WorkflowEventProcessorImpl) extractAsyncCdDeployRequestFromEventMsg(
773773
impl.logger.Errorw("error in unmarshalling CD async install request nats message", "err", err)
774774
return nil, err
775775
}
776-
impl.logger.Infow("received async cd pipeline deployment request", "appId", cdAsyncInstallReq.ValuesOverrideRequest.AppId, "envId", cdAsyncInstallReq.ValuesOverrideRequest.EnvId)
777776
if cdAsyncInstallReq.Id == 0 && cdAsyncInstallReq.ValuesOverrideRequest == nil {
778777
impl.logger.Errorw("invalid async cd pipeline deployment request", "msg", msg.Data)
779778
return nil, fmt.Errorf("invalid async cd pipeline deployment request")
@@ -795,6 +794,7 @@ func (impl *WorkflowEventProcessorImpl) extractAsyncCdDeployRequestFromEventMsg(
795794
impl.logger.Errorw("error in setting additional data to UserDeploymentRequest", "err", err)
796795
return nil, err
797796
}
797+
impl.logger.Infow("received async cd pipeline deployment request", "appId", cdAsyncInstallReq.ValuesOverrideRequest.AppId, "envId", cdAsyncInstallReq.ValuesOverrideRequest.EnvId)
798798
return cdAsyncInstallReq, nil
799799
}
800800

0 commit comments

Comments
 (0)