Skip to content

Commit

Permalink
Update pkg/reconciler/taskrun/resources/taskref.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jerop Kipruto <[email protected]>
  • Loading branch information
Yongxuanzhang and jerop authored Nov 7, 2023
1 parent 6338bdb commit e6e3eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reconciler/taskrun/resources/taskref.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6e3eb9

Please sign in to comment.