Agent: Change return type hint of _get_segmentation_check_targets() to be more specific

This commit is contained in:
Shreya Malviya 2022-09-27 16:30:28 +05:30
parent e2f0a2dfc0
commit 80328159f0
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ def _remove_ips_from_scan_targets(
def _get_segmentation_check_targets(
inaccessible_subnets: Iterable[str], local_interfaces: Iterable[IPv4Interface]
) -> Sequence[NetworkAddress]:
) -> List[NetworkAddress]:
ips_to_scan = []
local_ips = [str(interface.ip) for interface in local_interfaces]