From 1a583ec0354d8354f8a13d6c3164ab973b6eeef1 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Wed, 8 Dec 2021 10:16:05 +0200 Subject: [PATCH] Agent: remove the "is_monkey_alive_by_configuration" check Should monkey be alive is now checked on island. Island checks both, the config and whether the user killed it manually --- monkey/infection_monkey/monkey.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index 50b145cc0..d6da3390d 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -128,10 +128,6 @@ class InfectionMonkey: logger.debug("default server set to: %s" % self._opts.server) return True - @staticmethod - def _is_monkey_alive_by_config(): - return not WormConfiguration.alive - @staticmethod def _is_upgrade_to_64_needed(): return WindowsUpgrader.should_upgrade()