From c44e74e676ab6bda3eac97690893f73350c34e9e Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Tue, 11 Apr 2017 17:21:21 -0400 Subject: [PATCH] Add logdrivers to /info This is required for swarmkit to be able to filter based on log driver. Signed-off-by: Brian Goff --- cli/command/system/info.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cli/command/system/info.go b/cli/command/system/info.go index 8c5dec3f5a..c951e42eb7 100644 --- a/cli/command/system/info.go +++ b/cli/command/system/info.go @@ -91,6 +91,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)