From 0ca7df046bec20e86f3df3c7c4391b120c392b07 Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Fri, 28 Feb 2014 19:06:36 +0000 Subject: [PATCH] fix EventsListeners in docker info Docker-DCO-1.1-Signed-off-by: Victor Vieux (github: vieux) --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index b47e1989a8..6b0a415b5d 100644 --- a/server.go +++ b/server.go @@ -825,7 +825,7 @@ func (srv *Server) DockerInfo(job *engine.Job) engine.Status { v.SetInt("NFd", utils.GetTotalUsedFds()) v.SetInt("NGoroutines", runtime.NumGoroutine()) v.Set("ExecutionDriver", srv.runtime.execDriver.Name()) - v.SetInt("NEventsListener", len(srv.events)) + v.SetInt("NEventsListener", len(srv.listeners)) v.Set("KernelVersion", kernelVersion) v.Set("IndexServerAddress", auth.IndexServerAddress()) v.Set("InitSha1", dockerversion.INITSHA1)