Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Commit

Permalink
allow more methods for reset
Browse files Browse the repository at this point in the history
  • Loading branch information
jghibiki committed Apr 9, 2019
1 parent 884299a commit a420770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/sydney.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def notify_state_change(environment, pipeline, step, state):

return "Updated {0} to state {1}".format(step["name"], state["name"])

@app.route('/reset/<environment>/<pipeline>/<state>', methods=["POST"])
@app.route('/reset/<environment>/<pipeline>/<state>', methods=["GET", "POST"])
def reset_pipeline(environment, pipeline, state):

env = get_environment(environment)
Expand Down

0 comments on commit a420770

Please sign in to comment.