fix misspell in utils.go
Signed-off-by: Helen Xie <chenjg@harmonycloud.cn> rewritten from github.com/moby/moby 2b79dbc89bf15c276145a0fa3d3728308349f86edocker-18.09
parent
f3e2ff6cdf
commit
e47bac49ce
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue