Browse Source

#2734

tags/v1.22.8.2^2
lewis 3 years ago
parent
commit
ea1d5b19d9
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      routers/repo/modelarts.go

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

@@ -502,9 +502,11 @@ func NotebookRestart(ctx *context.Context) {
break
}

id = strconv.FormatInt(newTask.ID, 10)

status = res.Status
resultCode = "0"
notification.NotifyOtherTask(ctx.User, ctx.Repo.Repository, strconv.FormatInt(newTask.ID, 10), newTask.DisplayJobName, models.ActionCreateDebugNPUTask)
notification.NotifyOtherTask(ctx.User, ctx.Repo.Repository, id, newTask.DisplayJobName, models.ActionCreateDebugNPUTask)

break
}


Loading…
Cancel
Save