Try to remote run even if not auth

Since auth == keys, but now it works with roles as well
This commit is contained in:
Shay Nehmad 2019-04-16 20:57:51 +03:00
parent a38b5cf360
commit 4741151f22
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,9 @@ class RemoteRun(flask_restful.Resource):
if is_auth:
result = self.run_aws_monkeys(body)
resp['result'] = result
else:
result = self.run_aws_monkeys(body)
resp['result'] = result
return jsonify(resp)
# default action