Island: Use IPv4Address in LocalMonkeyRunService

This commit is contained in:
Mike Salvatore 2022-09-23 08:45:48 -04:00
parent c2f3def33b
commit 0592e0a790
1 changed files with 2 additions and 1 deletions

View File

@ -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