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> |
||
---|---|---|
.. | ||
bundlefile | ||
checkpoint | ||
commands | ||
config | ||
container | ||
formatter | ||
idresolver | ||
image | ||
inspect | ||
network | ||
node | ||
plugin | ||
registry | ||
secret | ||
service | ||
stack | ||
swarm | ||
system | ||
task | ||
volume | ||
cli.go | ||
cli_test.go | ||
events_utils.go | ||
in.go | ||
out.go | ||
registry.go | ||
registry_test.go | ||
stream.go | ||
trust.go | ||
utils.go |