From 53e5f33279c6f21cfd9e8366d240124e62f8a11a Mon Sep 17 00:00:00 2001 From: Soshi Katsuta Date: Fri, 25 Sep 2015 01:45:59 +0900 Subject: [PATCH] builder: fix typos in comments Signed-off-by: Soshi Katsuta --- builder/evaluator.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/evaluator.go b/builder/evaluator.go index b798ad2dba..52a16df97d 100644 --- a/builder/evaluator.go +++ b/builder/evaluator.go @@ -307,14 +307,14 @@ func (b *builder) isBuildArgAllowed(arg string) bool { // // ONBUILD is a special case; in this case the parser will emit: // Child[Node, Child[Node, Node...]] where the first node is the literal -// "onbuild" and the child entrypoint is the command of the ONBUILD statmeent, +// "onbuild" and the child entrypoint is the command of the ONBUILD statement, // such as `RUN` in ONBUILD RUN foo. There is special case logic in here to // deal with that, at least until it becomes more of a general concern with new // features. func (b *builder) dispatch(stepN int, ast *parser.Node) error { cmd := ast.Value - // To ensure the user is give a decent error message if the platform + // To ensure the user is given a decent error message if the platform // on which the daemon is running does not support a builder command. if err := platformSupports(strings.ToLower(cmd)); err != nil { return err