remove redundant comments in test build.go

Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
allencloud 2017-03-27 10:56:57 +08:00
parent 08544b1912
commit 32b81dae29
1 changed files with 1 additions and 2 deletions

View File

@ -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