mirror of https://github.com/docker/cli.git
6f1b510843
Some mild refactoring of the docker info command; - Use `fmt.Fprinln()` instead of `fmt.Fprintf()` where possible - Rename `fprintfIfNotEmpty()` to `fprintlnNonEmpty()`, and removed return variables, because they were not used. `fprintlnNonEmpty()` now uses fmt.Fprintln()` instead of `fmt.Fprintf()`, because formatting was not used. - Use `fprintlnNonEmpty()` to get rid of some `if` statements - Extract printing Swarm-related information to a `printSwarmInfo()` function - Change `Http Proxy` and `Https Proxy` to `HTTP Proxy` / `HTTPS Proxy` Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
testdata | ||
client_test.go | ||
cmd.go | ||
df.go | ||
events.go | ||
info.go | ||
info_test.go | ||
inspect.go | ||
prune.go | ||
prune_test.go | ||
version.go |