Merge commit leftovers

This commit is contained in:
Shay Nehmad 2019-08-21 19:03:51 +03:00
parent 293a6639f2
commit 6843606a4f
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ from monkey_island.cc.services.node import NodeService
def process_state_telemetry(telemetry_json):
monkey = NodeService.get_monkey_by_guid(telemetry_json['monkey_guid'])
NodeService.add_communication_info(monkey, telemetry_json['command_control_channel'])
if telemetry_json['data']['done']:
NodeService.set_monkey_dead(monkey, True)
else: