Skip to content

Commit

Permalink
Cleanup resources of ClusterTask
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
JeromeJu authored and tekton-robot committed Jan 17, 2023
1 parent 939729b commit 6372082
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/reconciler/taskrun/resources/taskspec.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ type GetTask func(context.Context, string) (v1beta1.TaskObject, *v1beta1.ConfigS
// GetTaskRun is a function used to retrieve TaskRuns
type GetTaskRun func(string) (*v1beta1.TaskRun, error)

// GetClusterTask is a function that will retrieve the Task from name and namespace.
type GetClusterTask func(name string) (v1beta1.TaskObject, error)

// GetTaskData will retrieve the Task metadata and Spec associated with the
// provided TaskRun. This can come from a reference Task or from the TaskRun's
// metadata and embedded TaskSpec.
Expand Down

0 comments on commit 6372082

Please sign in to comment.