Commit e2b124b6 authored by Waleed Akbar's avatar Waleed Akbar
Browse files

feat: Simplify SIMAP network deletion by removing unnecessary context client parameter

parent 574b81a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -860,7 +860,7 @@ class EventDispatcher(BaseEventDispatcher):
                    self._telemetry_pool.stop_worker(WorkerTypeEnum.SYNTHESIZER, worker_name)
                    LOGGER.info('Stopped telemetry worker for link {:s}, no connections remain'.format(link_name))

                    delete_simap_network(self._context_client, self._simap_client, domain_name)
                    delete_simap_network(self._simap_client, domain_name)
                    LOGGER.info('Deleted SIMAP network for domain {:s} after connection removal'.format(domain_name))
                else:
                    # Other connections still use this link, update worker with new count