Browse Source

Merge branch 'gpu-inference' of git.openi.org.cn:OpenI/aiforge into gpu-inference

pull/2458/head
zhoupzh 2 years ago
parent
commit
70c0c7f685
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      routers/api/v1/repo/cloudbrain.go

+ 2
- 2
routers/api/v1/repo/cloudbrain.go View File

@@ -155,13 +155,13 @@ func DelCloudBrainJob(ctx *context.APIContext) {


if errStr != "" { if errStr != "" {
ctx.JSON(http.StatusOK, map[string]interface{}{ ctx.JSON(http.StatusOK, map[string]interface{}{
"Message": ctx.Tr(errStr),
"message": ctx.Tr(errStr),
"VersionName": versionName, "VersionName": versionName,
"code": 1, "code": 1,
}) })
} else { } else {
ctx.JSON(http.StatusOK, map[string]interface{}{ ctx.JSON(http.StatusOK, map[string]interface{}{
"Message": "",
"message": "",
"VersionName": versionName, "VersionName": versionName,
"code": 0, "code": 0,
}) })


Loading…
Cancel
Save