Island: Rename PyPubSubEventQueue -> PyPubSubAgentEventQueue

This commit is contained in:
Shreya Malviya 2022-09-05 19:25:37 +05:30
parent 5b7d3bfb70
commit de74b866bb
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ from common.agent_configuration import (
)
from common.aws import AWSInstance
from common.common_consts.telem_categories import TelemCategoryEnum
from common.event_queue import IAgentEventQueue, PyPubSubEventQueue
from common.event_queue import IAgentEventQueue, PyPubSubAgentEventQueue
from common.utils.file_utils import get_binary_io_sha256_hash
from monkey_island.cc.repository import (
AgentBinaryRepository,
@ -63,7 +63,7 @@ def initialize_services(container: DIContainer, data_dir: Path):
ILockableEncryptor, RepositoryEncryptor(data_dir / REPOSITORY_KEY_FILE_NAME)
)
container.register(Publisher, Publisher)
container.register_instance(IAgentEventQueue, container.resolve(PyPubSubEventQueue))
container.register_instance(IAgentEventQueue, container.resolve(PyPubSubAgentEventQueue))
_register_repositories(container, data_dir)
_register_services(container)