Dont use update aws auth params at all

This commit is contained in:
Shay Nehmad 2019-04-16 22:11:22 +03:00
parent 9c38d8e72a
commit 6000990dbb
1 changed files with 3 additions and 5 deletions

View File

@ -45,11 +45,9 @@ class RemoteRun(flask_restful.Resource):
body = json.loads(request.data) body = json.loads(request.data)
resp = {} resp = {}
if body.get('type') == 'aws': if body.get('type') == 'aws':
is_auth = RemoteRunAwsService.update_aws_auth_params() RemoteRunAwsService.update_aws_region_authless()
resp['auth'] = is_auth result = self.run_aws_monkeys(body)
if is_auth: resp['result'] = result
result = self.run_aws_monkeys(body)
resp['result'] = result
return jsonify(resp) return jsonify(resp)
# default action # default action