This commit is contained in:
crusader 2018-04-28 01:59:23 +09:00
parent 26da7a2e03
commit 2966713cb5

View File

@ -138,7 +138,8 @@ func (s *DiscoveryService) handleDiscovery(requesterID string, discoveryFunc fun
data.Release() data.Release()
return nil return nil
case discoverer.DiscoveryDataTypeError: case discoverer.DiscoveryDataTypeError:
s.ProbeService.Send("DiscoveryService.DiscoveryError", requesterID, data.Error) // s.ProbeService.Send("DiscoveryService.DiscoveryError", requesterID, data.Error)
logging.Logger().Debugf("DiscoveryService.DiscoveryError %v", data.Error)
case discoverer.DiscoveryDataTypeZone: case discoverer.DiscoveryDataTypeZone:
s.ProbeService.Send("DiscoveryService.DiscoveredZone", requesterID, data.Result) s.ProbeService.Send("DiscoveryService.DiscoveredZone", requesterID, data.Result)
case discoverer.DiscoveryDataTypeHost: case discoverer.DiscoveryDataTypeHost: