Explorar o código

fix misspell in utils.go

Signed-off-by: Helen Xie <chenjg@harmonycloud.cn>
fate-grand-order %!s(int64=8) %!d(string=hai) anos
pai
achega
2b79dbc89b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      builder/dockerfile/parser/utils.go

+ 1 - 1
builder/dockerfile/parser/utils.go

@@ -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) {