From 25d97c07f9c37719dc17dd54b9729923f15f170e Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 27 Mar 2018 00:36:26 +0900 Subject: [PATCH] ing --- discovery/discovery.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/discovery/discovery.go b/discovery/discovery.go index b09d90a..6d6144a 100644 --- a/discovery/discovery.go +++ b/discovery/discovery.go @@ -36,6 +36,7 @@ func DiscoverZone(probeService *oopcs.ProbeService, requesterID string, dz *disc discoverer.stopWg.Wait() discoverer.complete() + logging.Logger().Debugf("Discovery: Discovery has been complete") } func DiscoverHost(probeService *oopcs.ProbeService, requesterID string, zone *discoveryM.Zone, dh *discoveryM.DiscoveryHost) { @@ -46,6 +47,7 @@ func DiscoverHost(probeService *oopcs.ProbeService, requesterID string, zone *di discoverer.discoverHost(probeService, requesterID, zone, dh) discoverer.stopWg.Wait() discoverer.complete() + logging.Logger().Debugf("Discovery: Discovery has been complete") } func DiscoverPort(probeService *oopcs.ProbeService, requesterID string, host *discoveryM.Host, dp *discoveryM.DiscoveryPort) { @@ -56,6 +58,7 @@ func DiscoverPort(probeService *oopcs.ProbeService, requesterID string, host *di discoverer.discoverPort(probeService, requesterID, host, dp) discoverer.stopWg.Wait() discoverer.complete() + logging.Logger().Debugf("Discovery: Discovery has been complete") } func DiscoverService(probeService *oopcs.ProbeService, requesterID string, port *discoveryM.Port, ds *discoveryM.DiscoveryService) { @@ -66,6 +69,7 @@ func DiscoverService(probeService *oopcs.ProbeService, requesterID string, port discoverer.discoverService(probeService, requesterID, port, ds) discoverer.stopWg.Wait() discoverer.complete() + logging.Logger().Debugf("Discovery: Discovery has been complete") } func Stop() {