moby/cli/command
Yong Tang ace786e9d5 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>
2016-11-17 06:31:28 -08:00
..
bundlefile Reinstate --bundle-file argument to 'docker deploy' 2016-11-10 11:28:18 -05:00
checkpoint always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
commands secrets: secret management for swarm 2016-11-09 14:27:43 -05:00
container Fix issue with missing fields for ps template 2016-11-12 11:23:21 -05:00
formatter Fix several issues with go vet and go fmt 2016-11-17 06:31:28 -08:00
idresolver service ps: Truncate Task IDs 2016-11-08 16:17:15 -08:00
image Windows: Use sequential file access 2016-11-14 17:41:52 -08:00
inspect add endpoint mode in service pretty 2016-09-27 18:41:19 +08:00
network always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
node Merge pull request #28196 from allencloud/add-short-flag-for-force 2016-11-09 18:11:58 +01:00
plugin Add docs for plugin push 2016-11-14 09:10:21 -08:00
prune add docker network prune 2016-10-25 06:43:54 +00:00
registry Planned 1.13 deprecation: email from login 2016-11-11 17:32:46 -08:00
secret context.Context should be the first parameter of a function 2016-11-12 14:14:34 +08:00
service only check secrets for service create if requested 2016-11-11 10:07:24 -05:00
stack Fix several issues with go vet and go fmt 2016-11-17 06:31:28 -08:00
swarm cli: Change autolock flag description 2016-11-10 12:05:19 -08:00
system Add information for Manager Addresses in the output of docker info 2016-11-11 07:35:32 -08:00
task Add support for host port PublishMode in services 2016-11-10 18:07:55 -08:00
volume always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
cli.go always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
events_utils.go Add subcommand prune to the container, volume, image and system commands 2016-09-29 07:42:53 -07:00
in.go Fix the incorrect description for NewInStream 2016-10-13 22:33:09 +08:00
out.go Windows: OCI process struct convergence 2016-09-19 10:34:31 -07:00
registry.go Remove remaining registry methods from DockerCLI. 2016-09-09 15:50:01 -04:00
trust.go Move image trust related cli methods into the image package. 2016-09-09 10:50:16 -04:00
utils.go return nil when no node or service to avoid additional api call 2016-10-11 10:59:16 +08:00