forked from p15670423/monkey
Agent: Default self._relay to None
This commit is contained in:
parent
310b58392f
commit
9a1b5b67b5
|
@ -5,7 +5,7 @@ import subprocess
|
|||
import sys
|
||||
from ipaddress import IPv4Address, IPv4Interface
|
||||
from pathlib import Path, WindowsPath
|
||||
from typing import List
|
||||
from typing import List, Optional
|
||||
|
||||
from pubsub.core import Publisher
|
||||
|
||||
|
@ -123,7 +123,7 @@ class InfectionMonkey:
|
|||
self._telemetry_messenger = LegacyTelemetryMessengerAdapter()
|
||||
self._current_depth = self._opts.depth
|
||||
self._master = None
|
||||
self._relay: TCPRelay
|
||||
self._relay: Optional[TCPRelay] = None
|
||||
|
||||
@staticmethod
|
||||
def _get_arguments(args):
|
||||
|
|
Loading…
Reference in New Issue