소스 검색

fix misspell in utils.go

Signed-off-by: Helen Xie <chenjg@harmonycloud.cn>
fate-grand-order 8 년 전
부모
커밋
2b79dbc89b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {