Browse Source

merge

tags/v1.22.7.2^2
liuzx 3 years ago
parent
commit
07467c05ae
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      routers/repo/modelarts.go

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

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


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


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


err = models.RestartCloudbrain(task, newTask) err = models.RestartCloudbrain(task, newTask)


Loading…
Cancel
Save