1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cli/command/stack
Yong Tang e3c24caf7a Fix several issues with go vet and go fmt
For some reason, `go vet` and `go fmt` validate does not capture
several issues.

The following was the output of `go vet`:
```
ubuntu@ubuntu:~/docker$ go vet ./... 2>&1 | grep -v ^vendor | grep -v '^exit status 1$'
cli/command/formatter/container_test.go:393: possible formatting directive in Log call
volume/volume_test.go:257: arg mp.RW for printf verb %s of wrong type: bool
```

The following was the output of `go fmt -s`:
```
ubuntu@ubuntu:~/docker$ gofmt -s -l . | grep -v ^vendor
cli/command/stack/list.go
daemon/commit.go
```

Fixed above issues with `go vet` and `go fmt -s`

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
(cherry picked from commit ace786e9d5)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2016-11-18 15:14:49 -08:00
..
cmd.go refactor help func in CLI 2016-11-18 13:30:44 -08:00
common.go Remove duplication of name mangling. 2016-11-10 11:28:18 -05:00
deploy.go Return warnings from service create and service update when digest pinning fails 2016-11-18 13:57:11 -08:00
deploy_bundlefile.go Restore stack deploy integration test with dab 2016-11-10 11:28:19 -05:00
list.go Fix several issues with go vet and go fmt 2016-11-18 15:14:49 -08:00
opts.go Reinstate --bundle-file argument to 'docker deploy' 2016-11-10 11:28:18 -05:00
ps.go Replace all "Filter" field with "Filters" for consistency 2016-11-01 23:09:30 +08:00
remove.go Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
services.go Replace all "Filter" field with "Filters" for consistency 2016-11-01 23:09:30 +08:00