Fix pipeline cancel API endpoint and update Web and CLI clients (#1372)

Fixes #1369 

Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
Divya Jain
2022-10-30 19:09:01 +05:30
committed by GitHub
parent a5e1714039
commit 280d27d723
7 changed files with 15 additions and 19 deletions

View File

@@ -255,8 +255,8 @@ func GetPipelineConfig(c *gin.Context) {
c.JSON(http.StatusOK, configs)
}
// DeletePipeline cancels a pipeline
func DeletePipeline(c *gin.Context) {
// CancelPipeline cancels a pipeline
func CancelPipeline(c *gin.Context) {
_store := store.FromContext(c)
repo := session.Repo(c)
num, _ := strconv.ParseInt(c.Params.ByName("number"), 10, 64)