Browse Source

Merge pull request '解决npu调试任务再次调试时无法正常刷新状态的问题' (#2735) from fix-734 into V20220830

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/2735
Reviewed-by: ychao_1983 <ychao_1983@sina.com>
fix-invalid-token
ychao_1983 2 years ago
parent
commit
d89d1c6d0a
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