Jelajahi Sumber

remove redundant comments in test build.go

Signed-off-by: allencloud <allen.sun@daocloud.io>
allencloud 8 tahun lalu
induk
melakukan
32b81dae29
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  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