Commit 2ac0a02fa6f3baf5ce3072541547ad7f172fbdca

Authored by Alexis Koralewski
1 parent 734508a7
Exists in dev

Fixing AgentSST (renaming method properly)

Showing 2 changed files with 5 additions and 1 deletions   Show diff stats
CHANGELOG
  1 +20-06-2022 (AKo): v0.4.14.0
  2 + - Fixing issues for PYROSW with Windows OS, Adding venv option actions (running pyros in actual venv) if there is one and we're not within docker's pyros container
  3 + - Fixing AgentSST (renaming method properly)
  4 +
1 5 17-06-2022 (AKo): v0.4.14.0
2 6 - Adding Sequences pickles creation on submit to plannification
3 7 - Renaming commands of AgentSST (Adding prefix 'do') and moving routine work to routine_process_after
... ...
src/core/pyros_django/agent/AgentSST.py
... ... @@ -159,7 +159,7 @@ class AgentSST(Agent):
159 159 while self.subprocess_dict[agent].poll() is None:
160 160 time.sleep(0.5)
161 161  
162   - def routine_process_after(self):
  162 + def routine_process_after_body(self):
163 163 now_time = datetime.now(timezone.utc)
164 164 last_running_commands = AgentCmd.get_commands_sent_by_agent("AgentSST").filter(state="CMD_RUNNING")
165 165  
... ...