Skip to content

Commit 6372082

Browse files
JeromeJutekton-robot
authored andcommitted
Cleanup resources of ClusterTask
This commit cleans up the unused functions for ClusterTask. It aims to keep the hygiene of the codebase and gets the repo ready for swapping the storage version to v1.
1 parent 939729b commit 6372082

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/reconciler/taskrun/resources/taskspec.go

-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ type GetTask func(context.Context, string) (v1beta1.TaskObject, *v1beta1.ConfigS
3232
// GetTaskRun is a function used to retrieve TaskRuns
3333
type GetTaskRun func(string) (*v1beta1.TaskRun, error)
3434

35-
// GetClusterTask is a function that will retrieve the Task from name and namespace.
36-
type GetClusterTask func(name string) (v1beta1.TaskObject, error)
37-
3835
// GetTaskData will retrieve the Task metadata and Spec associated with the
3936
// provided TaskRun. This can come from a reference Task or from the TaskRun's
4037
// metadata and embedded TaskSpec.

0 commit comments

Comments
 (0)