remove redundant comments in test build.go
Signed-off-by: allencloud <allen.sun@daocloud.io> Upstream-commit: 32b81dae29fbb6f831cda5e9db1c120f78cd4a91 Component: engine
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user