forked from p15670423/monkey
Island: Remove comment in cc/resources/agent_signals.py
This commit is contained in:
parent
dccef0efa5
commit
58ad44366a
|
@ -24,7 +24,6 @@ class AgentSignals(AbstractResource):
|
||||||
try:
|
try:
|
||||||
signal = Signals(**request.json)
|
signal = Signals(**request.json)
|
||||||
|
|
||||||
# We allow an empty timestamp. However, should the agent be able to send us one?
|
|
||||||
if signal.terminate is None:
|
if signal.terminate is None:
|
||||||
raise ValueError
|
raise ValueError
|
||||||
self._island_event_queue.publish(IslandEventTopic.TERMINATE_AGENTS, signal=signal)
|
self._island_event_queue.publish(IslandEventTopic.TERMINATE_AGENTS, signal=signal)
|
||||||
|
|
Loading…
Reference in New Issue