Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1268/head
zouap 3 years ago
parent
commit
bcb0ca324c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/ai_model_manage.go

+ 1
- 1
routers/repo/ai_model_manage.go View File

@@ -104,7 +104,7 @@ func saveModelByParameters(jobId string, versionName string, name string, versio
var units []models.RepoUnit var units []models.RepoUnit
var deleteUnitTypes []models.UnitType var deleteUnitTypes []models.UnitType
units = append(units, models.RepoUnit{ units = append(units, models.RepoUnit{
RepoID: ctx.Repo.Repository.RepoID,
RepoID: ctx.Repo.Repository.ID,
Type: models.UnitTypeModelManage, Type: models.UnitTypeModelManage,
Config: &models.ModelManageConfig{ Config: &models.ModelManageConfig{
EnableModelManage: true, EnableModelManage: true,


Loading…
Cancel
Save