Skip to content

Commit 44e36db

Browse files
retrigger bug (#6534)
1 parent febdbf4 commit 44e36db

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
@@ -501,7 +501,7 @@ func (impl *WorkflowEventProcessorImpl) SubscribeCDWorkflowStatusUpdate() error
501501
wfStatusInEvent := string(wfStatus.Phase)
502502
if wfStatusInEvent == string(v1alpha1.NodeSucceeded) || wfStatusInEvent == string(v1alpha1.NodeFailed) || wfStatusInEvent == string(v1alpha1.NodeError) {
503503
// the re-trigger should only happen when we get a pod deleted event.
504-
if executors.CheckIfReTriggerRequired(status, wfStatus.Message, wfr.Status) {
504+
if executors.CheckIfReTriggerRequired(status, wfr.Message, wfr.Status) {
505505
err = impl.workflowDagExecutor.HandleCdStageReTrigger(wfr)
506506
if err != nil {
507507
// check if this log required or not

0 commit comments

Comments
 (0)