Browse Source

#2588

fix bug
tags/v1.22.7.2^2
chenyifan01 3 years ago
parent
commit
2c5daa1c12
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      routers/repo/modelarts.go

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

@@ -294,6 +294,9 @@ func NotebookShow(ctx *context.Context) {
} else { //deleted record

}
if task.FlavorCode == "" {
task.FlavorCode = result.Flavor
}
}

datasetDownload := make([]models.DatasetDownload, 0)
@@ -528,6 +531,8 @@ func NotebookManage(ctx *context.Context) {
Description: task.Description,
CreatedUnix: createTime,
UpdatedUnix: createTime,
FlavorCode: task.FlavorCode,
FlavorName: task.FlavorName,
}

err = models.RestartCloudbrain(task, newTask)


Loading…
Cancel
Save