diff --git a/pkg/reconciler/taskrun/resources/taskref.go b/pkg/reconciler/taskrun/resources/taskref.go index af4e23d1272..e9a1cf4d04a 100644 --- a/pkg/reconciler/taskrun/resources/taskref.go +++ b/pkg/reconciler/taskrun/resources/taskref.go @@ -177,7 +177,7 @@ func resolveStepAction(ctx context.Context, resolver remote.Resolver, name, name } return obj, refSource, nil } - return nil, nil, errors.New("resource is not a step action") + return nil, nil, errors.New("resource is not a StepAction") } // readRuntimeObjectAsTask tries to convert a generic runtime.Object