Loading src/simap_connector/service/simap_updater/SimapUpdater.py +3 −2 Original line number Diff line number Diff line Loading @@ -862,8 +862,9 @@ class EventDispatcher(BaseEventDispatcher): mapping = self._object_cache.get(CachedEntities.CONNECTION, connection_uuid, auto_retrieve=False) if mapping is None: MSG = 'Connection {:s} not found in cache, cannot process removal (service may have restarted)' raise Exception(MSG.format(connection_uuid)) MSG = 'Connection {:s} not managed by this controller (not in allowed links), skipping removal' LOGGER.debug(MSG.format(connection_uuid)) return # Defensive: distinguish mapping dicts from potential protobuf Connection objects if not isinstance(mapping, dict) or 'domain' not in mapping or 'links' not in mapping: Loading Loading
src/simap_connector/service/simap_updater/SimapUpdater.py +3 −2 Original line number Diff line number Diff line Loading @@ -862,8 +862,9 @@ class EventDispatcher(BaseEventDispatcher): mapping = self._object_cache.get(CachedEntities.CONNECTION, connection_uuid, auto_retrieve=False) if mapping is None: MSG = 'Connection {:s} not found in cache, cannot process removal (service may have restarted)' raise Exception(MSG.format(connection_uuid)) MSG = 'Connection {:s} not managed by this controller (not in allowed links), skipping removal' LOGGER.debug(MSG.format(connection_uuid)) return # Defensive: distinguish mapping dicts from potential protobuf Connection objects if not isinstance(mapping, dict) or 'domain' not in mapping or 'links' not in mapping: Loading