forked from p15670423/monkey
Dont use update aws auth params at all
This commit is contained in:
parent
9c38d8e72a
commit
6000990dbb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue