forked from p15670423/monkey
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:
parent
0965b97d45
commit
79e8ce5f79
|
@ -104,5 +104,5 @@ class ScanEventHandler:
|
||||||
|
|
||||||
if tcp_connections:
|
if tcp_connections:
|
||||||
self._node_repository.upsert_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)}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue