fix misspell in utils.go

Signed-off-by: Helen Xie <chenjg@harmonycloud.cn>

rewritten from github.com/moby/moby 2b79dbc89bf15c276145a0fa3d3728308349f86e
docker-18.09
fate-grand-order 2017-03-20 19:52:00 +08:00 committed by Tonis Tiigi
parent f3e2ff6cdf
commit e47bac49ce
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ func extractBuilderFlags(line string) (string, []string, error) {
return line[pos:], words, nil
}
phase = inWord // found someting with "--", fall through
phase = inWord // found something with "--", fall through
}
if (phase == inWord || phase == inQuote) && (pos == len(line)) {
if word != "--" && (blankOK || len(word) > 0) {