Remove useless error log

Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
This commit is contained in:
Flavio Crisciani 2017-12-04 20:36:58 -08:00
parent 6eb37c2aa3
commit f7023e11c8

View file

@ -1308,7 +1308,6 @@ func (c *controller) StartDiagnose(port int) {
c.Lock()
defer c.Unlock()
if !c.DiagnoseServer.IsDebugEnable() {
logrus.Errorf("StartDiagnose received the port %d", port)
c.DiagnoseServer.EnableDebug("127.0.0.1", port)
}
}