Skip to content

Commit

Permalink
Fix v1beta1.CustomRun GVK
Browse files Browse the repository at this point in the history
This was using `Runs` but should be `CustomRuns`.
Be aware this is potentially breaking behavior, but is a bug fix to what
the value should be.
  • Loading branch information
wlynch authored and tekton-robot committed Apr 19, 2023
1 parent 7fa5620 commit 79f6e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/pipeline/v1beta1/customrun_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (r *CustomRun) GetStatusCondition() apis.ConditionAccessor {

// GetGroupVersionKind implements kmeta.OwnerRefable.
func (*CustomRun) GetGroupVersionKind() schema.GroupVersionKind {
return SchemeGroupVersion.WithKind(pipeline.RunControllerName)
return SchemeGroupVersion.WithKind(pipeline.CustomRunControllerName)
}

// HasPipelineRunOwnerReference returns true of CustomRun has
Expand Down

0 comments on commit 79f6e4c

Please sign in to comment.