1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
This commit is contained in:
Nan Monnand Deng 2013-07-22 16:09:11 -04:00
parent 303490168f
commit 965de6ef50

View file

@ -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 {