diff --git a/service/DiscoveryService.go b/service/DiscoveryService.go index bbb385f..d34a299 100644 --- a/service/DiscoveryService.go +++ b/service/DiscoveryService.go @@ -62,6 +62,10 @@ func (s *DiscoveryService) DiscoverService(requesterID string, port *ocmd.Port, return s.ContainerService.Send(occp.ContainerDiscovery, "DiscoveryService.DiscoverService", requesterID, port, dService) } +func (s *DiscoveryService) StopDiscovery(requesterID string) error { + return s.ContainerService.Send(occp.ContainerDiscovery, "DiscoveryService.StopDiscovery", requesterID) +} + // use by discovery func (s *DiscoveryService) DiscoveryStart(requesterID string, t *util.Timestamp) error { return s.ProbeClientService.Send("DiscoveryService.discoveryStart", requesterID, t)