mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
remove redundant comments in test build.go
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
08544b1912
commit
32b81dae29
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue