Skip to content

Commit 25729a7

Browse files
committed
Fix method Dockefile2Outline to Dockerfile2Outline
Signed-off-by: Nobi <[email protected]>
1 parent ef61ad1 commit 25729a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/dockerfile/builder/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func Build(ctx context.Context, c client.Client) (_ *client.Result, err error) {
7979

8080
if res, ok, err := bc.HandleSubrequest(ctx, dockerui.RequestHandler{
8181
Outline: func(ctx context.Context) (*outline.Outline, error) {
82-
return dockerfile2llb.Dockefile2Outline(ctx, src.Data, convertOpt)
82+
return dockerfile2llb.Dockerfile2Outline(ctx, src.Data, convertOpt)
8383
},
8484
ListTargets: func(ctx context.Context) (*targets.List, error) {
8585
return dockerfile2llb.ListTargets(ctx, src.Data)

frontend/dockerfile/dockerfile2llb/convert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func Dockerfile2LLB(ctx context.Context, dt []byte, opt ConvertOpt) (*llb.State,
9999
return &ds.state, &ds.image, &sbom, nil
100100
}
101101

102-
func Dockefile2Outline(ctx context.Context, dt []byte, opt ConvertOpt) (*outline.Outline, error) {
102+
func Dockerfile2Outline(ctx context.Context, dt []byte, opt ConvertOpt) (*outline.Outline, error) {
103103
ds, err := toDispatchState(ctx, dt, opt)
104104
if err != nil {
105105
return nil, err

0 commit comments

Comments
 (0)