Skip to content

Commit 3838e38

Browse files
committed
handling of skipped event
1 parent 6276f82 commit 3838e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/pipeline/workflowStatus/WorkflowStageStatusService.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func (impl *WorkFlowStageStatusServiceImpl) updatePodStages(currentWorkflowStage
134134
stage.Status = bean2.WORKFLOW_STAGE_STATUS_SUCCEEDED
135135
stage.EndTime = time.Now().Format(bean3.LayoutRFC3339)
136136
}
137-
case string(v1alpha1.NodeFailed), string(v1alpha1.NodeError):
137+
case string(v1alpha1.NodeFailed), string(v1alpha1.NodeError), string(v1alpha1.NodeSkipped):
138138
if stage.Status == bean2.WORKFLOW_STAGE_STATUS_RUNNING ||
139139
stage.Status == bean2.WORKFLOW_STAGE_STATUS_NOT_STARTED ||
140140
stage.Status == bean2.WORKFLOW_STAGE_STATUS_UNKNOWN {

0 commit comments

Comments
 (0)