Island: Pass tuple, not set to upsert_tcp_connections()

pydantic can probably handle the set -> tuple conversion itself, but
mypy complains.
This commit is contained in:
Mike Salvatore 2022-10-07 07:44:49 -04:00
parent 0965b97d45
commit 79e8ce5f79
1 changed files with 1 additions and 1 deletions

View File

@ -104,5 +104,5 @@ class ScanEventHandler:
if tcp_connections:
self._node_repository.upsert_tcp_connections(
src_node.machine_id, {target_machine.id: tcp_connections}
src_node.machine_id, {target_machine.id: tuple(tcp_connections)}
)