Skip to content

Commit 7543a47

Browse files
jsminemtekton-robot
authored andcommitted
remove RunControllerName from the CodeBase
remove RunControllerName from the CodeBase remove RunControllerName from the CodeBase remove RunControllerName from the CodeBase remove RunControllerName from the CodeBase remove RunControllerName from the CodeBase remove RunControllerName from the CodeBase remove RunControllerName from the CodeBase remove RunControllerName from the CodeBase
1 parent 50fa5f1 commit 7543a47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/reconciler/pipelinerun/resources/pipelinerunresolution.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ func getNewTaskRunNames(ptName, prName string, combinationCount int) []string {
748748
func getRunName(childRefs []v1beta1.ChildStatusReference, ptName, prName string) string {
749749
for _, cr := range childRefs {
750750
if cr.PipelineTaskName == ptName {
751-
if cr.Kind == pipeline.CustomRunControllerName || cr.Kind == pipeline.RunControllerName {
751+
if cr.Kind == pipeline.CustomRunControllerName {
752752
return cr.Name
753753
}
754754
}
@@ -770,7 +770,7 @@ func getRunNamesFromChildRefs(childRefs []v1beta1.ChildStatusReference, ptName s
770770
var runNames []string
771771
for _, cr := range childRefs {
772772
if cr.PipelineTaskName == ptName {
773-
if cr.Kind == pipeline.CustomRunControllerName || cr.Kind == pipeline.RunControllerName {
773+
if cr.Kind == pipeline.CustomRunControllerName {
774774
runNames = append(runNames, cr.Name)
775775
}
776776
}

0 commit comments

Comments
 (0)