forked from p15670423/monkey
Island: Use IPv4Address in LocalMonkeyRunService
This commit is contained in:
parent
c2f3def33b
commit
0592e0a790
|
@ -2,6 +2,7 @@ import logging
|
||||||
import platform
|
import platform
|
||||||
import stat
|
import stat
|
||||||
import subprocess
|
import subprocess
|
||||||
|
from ipaddress import IPv4Address
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from shutil import copyfileobj
|
from shutil import copyfileobj
|
||||||
from typing import Sequence
|
from typing import Sequence
|
||||||
|
@ -19,7 +20,7 @@ class LocalMonkeyRunService:
|
||||||
self,
|
self,
|
||||||
data_dir: Path,
|
data_dir: Path,
|
||||||
agent_binary_repository: IAgentBinaryRepository,
|
agent_binary_repository: IAgentBinaryRepository,
|
||||||
ip_addresses: Sequence[str],
|
ip_addresses: Sequence[IPv4Address],
|
||||||
):
|
):
|
||||||
self._data_dir = data_dir
|
self._data_dir = data_dir
|
||||||
self._agent_binary_repository = agent_binary_repository
|
self._agent_binary_repository = agent_binary_repository
|
||||||
|
|
Loading…
Reference in New Issue