Skip to content

Commit

Permalink
klaus comments
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin on chickenita committed Dec 20, 2023
1 parent e2957bf commit 889f8e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timon/plugins/http_server/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"/queue/lenght/": "(GET) returns the lenght of the queue",
"/queue/probe/<probename>/": "(GET) search probe in queue",
"/probes/<probename>/run/": (
"(GET) force run the probename and returns "
"(POST) force run the probename and returns "
"the result"),
"/probes/<probename>/results/": (
"(GET) returns the list of results ordered by datetime"
Expand Down Expand Up @@ -117,7 +117,7 @@ async def search_probe_in_queue(probename):
404)


@app.route("/probes/<probename>/run/")
@app.route("/probes/<probename>/run/", methods=['POST'])
async def force_probe_run(probename):
"""
runs corresponding probe and returns the result
Expand Down

0 comments on commit 889f8e5

Please sign in to comment.