mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-05-06 21:52:54 +08:00
默认创建的project_src为local
This commit is contained in:
@@ -133,6 +133,7 @@ func (model *SVirtualResourceBase) CustomizeCreate(ctx context.Context, userCred
|
||||
} else {
|
||||
model.IsSystem = false
|
||||
}
|
||||
model.ProjectSrc = string(PROJECT_SOURCE_LOCAL)
|
||||
return model.SStandaloneResourceBase.CustomizeCreate(ctx, userCred, ownerProjId, query, data)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user