Skip to content

Commit d763d09

Browse files
committed
Fix Apply* call with ctx
Signed-off-by: Vincent Demeester <[email protected]>
1 parent 524fe29 commit d763d09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/tekton/pipelinerun.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ func PipelineRunToLLB(ctx context.Context, c client.Client, r PipelineRun) (llb.
167167
}
168168

169169
func applyPipelineRunSubstitution(ctx context.Context, pr *v1beta1.PipelineRun, ps *v1beta1.PipelineSpec, pipelineName string) (v1beta1.PipelineSpec, error) {
170-
ps = resources.ApplyParameters(ps, pr)
171-
ps = resources.ApplyContexts(ps, pipelineName, pr)
172-
ps = resources.ApplyWorkspaces(ps, pr)
170+
ps = resources.ApplyParameters(ctx, ps, pr)
171+
ps = resources.ApplyContexts(ctx, ps, pipelineName, pr)
172+
ps = resources.ApplyWorkspaces(ctx, ps, pr)
173173

174174
if err := ps.Validate(ctx); err != nil {
175175
return *ps, err

0 commit comments

Comments
 (0)