Island: Keep naming consistency in island_event_handlers

This commit is contained in:
Ilija Lazoroski 2022-09-23 09:41:31 +02:00 committed by Mike Salvatore
parent 275efb2ab1
commit f9306cf8f1
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ def setup_island_event_handlers(container: DIContainer):
_subscribe_reset_agent_configuration_events(island_event_queue, container)
_subscribe_clear_simulation_data_events(island_event_queue, container)
_subscribe_set_island_mode_events(island_event_queue, container)
_subscribe_on_terminate_agents_signal(island_event_queue, container)
_subscribe_terminate_agents_events(island_event_queue, container)
def _subscribe_agent_registration_events(
@ -78,7 +78,7 @@ def _subscribe_set_island_mode_events(
island_event_queue.subscribe(topic, simulation_repository.set_mode)
def _subscribe_on_terminate_agents_signal(
def _subscribe_terminate_agents_events(
island_event_queue: IIslandEventQueue, container: DIContainer
):
topic = IslandEventTopic.TERMINATE_AGENTS