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
This commit is contained in:
parent
a567041fba
commit
1a583ec035
|
@ -128,10 +128,6 @@ class InfectionMonkey:
|
||||||
logger.debug("default server set to: %s" % self._opts.server)
|
logger.debug("default server set to: %s" % self._opts.server)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@staticmethod
|
|
||||||
def _is_monkey_alive_by_config():
|
|
||||||
return not WormConfiguration.alive
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _is_upgrade_to_64_needed():
|
def _is_upgrade_to_64_needed():
|
||||||
return WindowsUpgrader.should_upgrade()
|
return WindowsUpgrader.should_upgrade()
|
||||||
|
|
Loading…
Reference in New Issue