diff --git a/src/service-governance/src/Listener/RegisterServiceListener.php b/src/service-governance/src/Listener/RegisterServiceListener.php index f03bb911a..af521fa7f 100644 --- a/src/service-governance/src/Listener/RegisterServiceListener.php +++ b/src/service-governance/src/Listener/RegisterServiceListener.php @@ -74,9 +74,6 @@ class RegisterServiceListener implements ListenerInterface */ public function process(object $event) { - foreach ($this->consulAgent->services()->json() as $service) { - $this->consulAgent->deregisterService($service['ID']); - } $services = $this->serviceManager->all(); $servers = $this->getServers(); foreach ($services as $serviceName => $paths) {