Fixed spelling error in builder/dockerfile/parser/parser.go

Signed-off-by: Tiffany Jernigan <tiffany.f.j@gmail.com>

rewritten from github.com/moby/moby a07c57f656846ee0de67ac4f575fe5b76d482efb
docker-18.09
Tiffany Jernigan 2016-06-09 14:47:05 -07:00 committed by Tonis Tiigi
parent df7c901a02
commit 3cde094e22
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func init() {
// ParseLine parse a line and return the remainder. // ParseLine parse a line and return the remainder.
func ParseLine(line string) (string, *Node, error) { func ParseLine(line string) (string, *Node, error) {
// Handle the parser directive '# escape=<char>. Parser directives must preceed // Handle the parser directive '# escape=<char>. Parser directives must precede
// any builder instruction or other comments, and cannot be repeated. // any builder instruction or other comments, and cannot be repeated.
if lookingForDirectives { if lookingForDirectives {
tecMatch := tokenEscapeCommand.FindStringSubmatch(strings.ToLower(line)) tecMatch := tokenEscapeCommand.FindStringSubmatch(strings.ToLower(line))