From 965de6ef50ceb479168c9e4f7156fe2b855e4245 Mon Sep 17 00:00:00 2001 From: Nan Monnand Deng Date: Mon, 22 Jul 2013 16:09:11 -0400 Subject: [PATCH] fixing #910 --- commands.go | 1 + 1 file changed, 1 insertion(+) diff --git a/commands.go b/commands.go index 167d33ce1d..387717f360 100644 --- a/commands.go +++ b/commands.go @@ -495,6 +495,7 @@ func (cli *DockerCli) CmdInfo(args ...string) error { fmt.Fprintf(cli.out, "EventsListeners: %d\n", out.NEventsListener) fmt.Fprintf(cli.out, "Kernel Version: %s\n", out.KernelVersion) } + if len(out.IndexServerAddress) != 0 { u := cli.configFile.Configs[out.IndexServerAddress].Username if len(u) > 0 {