forked from p34709852/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:
|
if is_auth:
|
||||||
result = self.run_aws_monkeys(body)
|
result = self.run_aws_monkeys(body)
|
||||||
resp['result'] = result
|
resp['result'] = result
|
||||||
|
else:
|
||||||
|
result = self.run_aws_monkeys(body)
|
||||||
|
resp['result'] = result
|
||||||
return jsonify(resp)
|
return jsonify(resp)
|
||||||
|
|
||||||
# default action
|
# default action
|
||||||
|
|
Loading…
Reference in New Issue