Skip to content

Commit

Permalink
bugfix: job callback for mon use method: post
Browse files Browse the repository at this point in the history
  • Loading branch information
UlricQin committed Oct 12, 2020
1 parent 0baa06c commit b867c98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion control
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# release version
version=3.1.0
version=3.1.1

CWD=$(cd $(dirname $0)/; pwd)
cd $CWD
Expand Down
2 changes: 1 addition & 1 deletion src/modules/job/http/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ func Config(r *gin.Engine) {
notLogin := r.Group("/api/job-ce")
{
notLogin.GET("/ping", ping)
notLogin.GET("/callback", taskCallback)
notLogin.POST("/callback", taskCallback)
notLogin.GET("/task/:id/stdout", taskStdout)
notLogin.GET("/task/:id/stderr", taskStderr)
notLogin.GET("/task/:id/state", apiTaskState)
Expand Down

0 comments on commit b867c98

Please sign in to comment.