瀏覽代碼

Merge pull request #32121 from allencloud/remove-redundant-comment-in-test-build

remove redundant comments in test build.go
Akihiro Suda 8 年之前
父節點
當前提交
e5d474e856
共有 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
 	return nil
 }
 }
 
 
-// WithContextPath set the build context path
+// WithContextPath sets the build context path
 func WithContextPath(path string) func(*icmd.Cmd) func() {
 func WithContextPath(path string) func(*icmd.Cmd) func() {
-	// WithContextPath sets the build context path
 	return func(cmd *icmd.Cmd) func() {
 	return func(cmd *icmd.Cmd) func() {
 		cmd.Command = append(cmd.Command, path)
 		cmd.Command = append(cmd.Command, path)
 		return nil
 		return nil