moby/cli/command/formatter
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
..
container.go Add Networks placeholder to ps --format 2016-10-20 07:41:56 -07:00
container_test.go Fix several issues with go vet and go fmt 2016-11-18 15:14:49 -08:00
custom.go Refactor formatter. 2016-09-13 17:58:12 -04:00
custom_test.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
disk_usage.go Generate api/types:Image from the swagger spec 2016-10-20 13:24:23 -07:00
formatter.go Add formatter for service inspect 2016-09-19 16:28:19 -04:00
image.go Generate api/types:Image from the swagger spec 2016-10-20 13:24:23 -07:00
image_test.go Generate api/types:Image from the swagger spec 2016-10-20 13:24:23 -07:00
network.go Fix broken JSON support in cli/command/formatter 2016-10-17 08:07:17 +00:00
network_test.go Fix broken JSON support in cli/command/formatter 2016-10-17 08:07:17 +00:00
reflect.go Fix broken JSON support in cli/command/formatter 2016-10-17 08:07:17 +00:00
reflect_test.go Fix broken JSON support in cli/command/formatter 2016-10-17 08:07:17 +00:00
service.go Fix crash caused by docker service inspect --pretty 2016-11-18 13:34:35 -08:00
stats.go Add support for Names and ID in stats format 2016-11-03 07:20:46 +01:00
stats_test.go Add support for Names and ID in stats format 2016-11-03 07:20:46 +01:00
volume.go Merge pull request #26519 from AkihiroSuda/fix-cli-command-formatter-json-support 2016-10-17 22:44:04 +01:00
volume_test.go Merge pull request #26519 from AkihiroSuda/fix-cli-command-formatter-json-support 2016-10-17 22:44:04 +01:00