bugfix: job callback for mon use method: post
This commit is contained in:
parent
0baa06cee0
commit
b867c985ed
2
control
2
control
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# release version
|
||||
version=3.1.0
|
||||
version=3.1.1
|
||||
|
||||
CWD=$(cd $(dirname $0)/; pwd)
|
||||
cd $CWD
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue