forked from p15670423/monkey
Try to remote run even if not auth
Since auth == keys, but now it works with roles as well
This commit is contained in:
parent
a38b5cf360
commit
4741151f22
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue