diff options
author | Kenfe-Mickaƫl Laventure <mickael.laventure@gmail.com> | 2017-04-25 23:25:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-25 23:25:30 -0500 |
commit | e8abe0a69d0d6838412a63d7170b9b92877ec3a2 (patch) | |
tree | 64b0ebbeac8f1fd2f8b85c3ab563223efe36257f /cli | |
parent | d4fb626e3694ac7b2f5f4870a9a8068d02585958 (diff) | |
parent | 17abacb8946ed89496fcbf07a0288fafe24cb7b0 (diff) | |
download | docker-e8abe0a69d0d6838412a63d7170b9b92877ec3a2.tar.gz |
Merge pull request #32540 from cpuguy83/add_logdrivers_to_info
Add logdrivers to /info
Diffstat (limited to 'cli')
-rw-r--r-- | cli/command/system/info.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/command/system/info.go b/cli/command/system/info.go index 8498dd8c55..8ded8124dc 100644 --- a/cli/command/system/info.go +++ b/cli/command/system/info.go @@ -90,6 +90,10 @@ func prettyPrintInfo(dockerCli *command.DockerCli, info types.Info) error { fmt.Fprintf(dockerCli.Out(), "\n") } + fmt.Fprintf(dockerCli.Out(), " Log:") + fmt.Fprintf(dockerCli.Out(), " %s", strings.Join(info.Plugins.Log, " ")) + fmt.Fprintf(dockerCli.Out(), "\n") + fmt.Fprintf(dockerCli.Out(), "Swarm: %v\n", info.Swarm.LocalNodeState) if info.Swarm.LocalNodeState != swarm.LocalNodeStateInactive && info.Swarm.LocalNodeState != swarm.LocalNodeStateLocked { fmt.Fprintf(dockerCli.Out(), " NodeID: %s\n", info.Swarm.NodeID) |