* mistaken _ with -...
This commit is contained in:
parent
1339ab723f
commit
498ddcacf5
|
@ -194,7 +194,7 @@ class Telemetry(flask_restful.Resource):
|
||||||
if 'aws' in telemetry_json['data']:
|
if 'aws' in telemetry_json['data']:
|
||||||
if 'instance_id' in telemetry_json['data']['aws']:
|
if 'instance_id' in telemetry_json['data']['aws']:
|
||||||
mongo.db.monkey.update_one({'_id': monkey_id},
|
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
|
@staticmethod
|
||||||
def add_ip_to_ssh_keys(ip, ssh_info):
|
def add_ip_to_ssh_keys(ip, ssh_info):
|
||||||
|
|
Loading…
Reference in New Issue