diff --git a/server.go b/server.go index 1771bf0b5f..e6176e18bd 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)