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 stat
|
||||
import subprocess
|
||||
from ipaddress import IPv4Address
|
||||
from pathlib import Path
|
||||
from shutil import copyfileobj
|
||||
from typing import Sequence
|
||||
|
@ -19,7 +20,7 @@ class LocalMonkeyRunService:
|
|||
self,
|
||||
data_dir: Path,
|
||||
agent_binary_repository: IAgentBinaryRepository,
|
||||
ip_addresses: Sequence[str],
|
||||
ip_addresses: Sequence[IPv4Address],
|
||||
):
|
||||
self._data_dir = data_dir
|
||||
self._agent_binary_repository = agent_binary_repository
|
||||
|
|
Loading…
Reference in New Issue