From d840f6fbf0f507a1c4557960c911520a6463f01b Mon Sep 17 00:00:00 2001 From: allencloud Date: Mon, 27 Mar 2017 10:56:57 +0800 Subject: [PATCH] remove redundant comments in test build.go Signed-off-by: allencloud Upstream-commit: 32b81dae29fbb6f831cda5e9db1c120f78cd4a91 Component: engine --- components/engine/integration-cli/cli/build/build.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/engine/integration-cli/cli/build/build.go b/components/engine/integration-cli/cli/build/build.go index afaeb98486..4a186252f9 100644 --- a/components/engine/integration-cli/cli/build/build.go +++ b/components/engine/integration-cli/cli/build/build.go @@ -21,9 +21,8 @@ func WithoutCache(cmd *icmd.Cmd) func() { return nil } -// WithContextPath set the build context path +// WithContextPath sets the build context path func WithContextPath(path string) func(*icmd.Cmd) func() { - // WithContextPath sets the build context path return func(cmd *icmd.Cmd) func() { cmd.Command = append(cmd.Command, path) return nil