Skip to content

Commit ec8d10d

Browse files
committed
Fix SetDefaults panic with PipelineRef
Signed-off-by: Vincent Demeester <[email protected]>
1 parent 991bbb7 commit ec8d10d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/tekton/pipelinerun.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func PipelineRunToLLB(ctx context.Context, c client.Client, r PipelineRun) (llb.
3535
if !ok {
3636
return llb.State{}, errors.Errorf("PipelineRef %s not found in context", pr.Spec.PipelineRef.Name)
3737
}
38-
ps.SetDefaults(ctx)
38+
p.SetDefaults(ctx)
3939
ps = &p.Spec
4040
}
4141

0 commit comments

Comments
 (0)