Browse Source

Merge remote-tracking branch 'origin/V20220830' into zouap

pull/2732/head
zouap 2 years ago
parent
commit
0ef0a4313e
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