Преглед на файлове

remove redundant comments in test build.go

Signed-off-by: allencloud <allen.sun@daocloud.io>
allencloud преди 8 години
родител
ревизия
32b81dae29
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  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