Browse Source

fix-1335

tags/v1.22.1.2
liuzx 3 years ago
parent
commit
3bf7f467e6
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/repo/modelarts.go

+ 1
- 0
routers/repo/modelarts.go View File

@@ -2107,6 +2107,7 @@ func SetJobCount(ctx *context.Context) {
repoId := ctx.Repo.Repository.ID
_, jobCount, err := models.Cloudbrains(&models.CloudbrainsOptions{
RepoID: repoId,
Type: modelarts.DebugType,
})
if err != nil {
ctx.ServerError("Get job faild:", err)


Loading…
Cancel
Save