Skip to content

Commit 04aac8c

Browse files
authored
Merge pull request #4394 from Frankkkkk/master
frontend/dockerfile/dockerfile2llb: errmsg: quote build target
2 parents 1e403a7 + 828749d commit 04aac8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/dockerfile/dockerfile2llb/convert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ func toDispatchState(ctx context.Context, dt []byte, opt ConvertOpt) (*dispatchS
317317
var ok bool
318318
target, ok = allDispatchStates.findStateByName(opt.Target)
319319
if !ok {
320-
return nil, errors.Errorf("target stage %s could not be found", opt.Target)
320+
return nil, errors.Errorf("target stage %q could not be found", opt.Target)
321321
}
322322
}
323323

0 commit comments

Comments
 (0)