From 94fba0fdf02b491f190c1cf931661db05bf52221 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Thu, 1 Sep 2022 10:17:13 +0200 Subject: [PATCH] Agent: Rename RelayUser.time to last_update_time --- monkey/infection_monkey/tcp_relay.py | 2 +- vulture_allowlist.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/monkey/infection_monkey/tcp_relay.py b/monkey/infection_monkey/tcp_relay.py index bb396de86..9fa4be1b6 100644 --- a/monkey/infection_monkey/tcp_relay.py +++ b/monkey/infection_monkey/tcp_relay.py @@ -11,7 +11,7 @@ DEFAULT_NEW_CLIENT_TIMEOUT = 3 # Wait up to 3 seconds for potential new clients @dataclass class RelayUser: address: str - time: float + last_update_time: float class TCPRelay(Thread): diff --git a/vulture_allowlist.py b/vulture_allowlist.py index da14d4a42..9f10fdedf 100644 --- a/vulture_allowlist.py +++ b/vulture_allowlist.py @@ -288,6 +288,7 @@ serialized_event # TODO: Remove after #2231 is closed relay_users +last_update_time # pydantic base models underscore_attrs_are_private