diff --git a/pkg/apis/pipeline/v1beta1/taskrun_types.go b/pkg/apis/pipeline/v1beta1/taskrun_types.go index de83b2de0e3..a314760bcef 100644 --- a/pkg/apis/pipeline/v1beta1/taskrun_types.go +++ b/pkg/apis/pipeline/v1beta1/taskrun_types.go @@ -414,7 +414,7 @@ func (tr *TaskRun) GetTimeout() time.Duration { // GetRunKey return the taskrun key for timeout handler map func (tr *TaskRun) GetRunKey() string { // The address of the pointer is a threadsafe unique identifier for the taskrun - return fmt.Sprintf("%s/%p", "TaskRun", tr) + return fmt.Sprintf("%s/%p", pipeline.TaskRunControllerName, tr) } // IsPartOfPipeline return true if TaskRun is a part of a Pipeline.