Files
docker-cli/cli/command
Sebastiaan van Stijn 6f1b510843 Refactor/cleanup of docker info
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>
2017-09-11 15:13:06 +02:00
..
2017-04-17 17:40:59 -04:00
2017-05-11 13:42:49 -07:00
2017-09-01 19:41:06 -04:00
2017-09-01 19:41:06 -04:00
2017-09-01 19:41:06 -04:00
2017-08-29 16:30:37 +02:00
2017-09-01 19:41:06 -04:00
2017-08-23 01:37:54 +03:00
2017-09-11 15:13:06 +02:00
2017-08-02 14:35:03 -07:00
2017-09-01 19:41:06 -04:00
2017-05-03 18:41:19 -07:00
2017-09-01 19:41:06 -04:00
2017-05-03 18:41:19 -07:00
2017-05-08 15:57:50 -04:00