Explorar o código

remove redundant comments in test build.go

Signed-off-by: allencloud <allen.sun@daocloud.io>
allencloud %!s(int64=8) %!d(string=hai) anos
pai
achega
32b81dae29
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      integration-cli/cli/build/build.go

+ 1 - 2
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