Skip to content

Commit

Permalink
Cleanup v1beta1 reference in pipelinerun reconciler
Browse files Browse the repository at this point in the history
This commit cleans up the v1beta1 PipelineRunReason in the pipelinerun
reconciler which should be referring to v1 PipelineRunReason.

/kind cleanup
  • Loading branch information
JeromeJu authored and tekton-robot committed Nov 20, 2023
1 parent 23581c5 commit 4e4772e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reconciler/pipelinerun/resources/pipelinerunstate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e4772e

Please sign in to comment.