* mistaken _ with -...

This commit is contained in:
maor.rayzin 2018-11-29 16:51:12 +02:00
parent 1339ab723f
commit 498ddcacf5
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class Telemetry(flask_restful.Resource):
if 'aws' in telemetry_json['data']:
if 'instance_id' in telemetry_json['data']['aws']:
mongo.db.monkey.update_one({'_id': monkey_id},
{'aws_instance_id': telemetry_json['data']['aws']['instance-id']})
{'aws_instance_id': telemetry_json['data']['aws']['instance_id']})
@staticmethod
def add_ip_to_ssh_keys(ip, ssh_info):