diff --git a/pkg/reconciler/pipelinerun/resources/pipelinerunstate.go b/pkg/reconciler/pipelinerun/resources/pipelinerunstate.go index cd0991fa81c..331fc720d99 100644 --- a/pkg/reconciler/pipelinerun/resources/pipelinerunstate.go +++ b/pkg/reconciler/pipelinerun/resources/pipelinerunstate.go @@ -543,7 +543,7 @@ func (facts *PipelineRunFacts) GetPipelineTaskStatus() map[string]string { if facts.isDAGTask(t.PipelineTask.Name) { // if any of the dag task failed, change the aggregate status to failed and return if !t.IsCustomTask() && t.haveAnyTaskRunsFailed() || t.IsCustomTask() && t.haveAnyCustomRunsFailed() { - aggregateStatus = v1beta1.PipelineRunReasonFailed.String() + aggregateStatus = v1.PipelineRunReasonFailed.String() break } // if any of the dag task skipped, change the aggregate status to completed