mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #1278 in YUNIONIO/onecloud from ~QUXUAN/onecloud:hotfix/qx-project-src to release/2.7.0
* commit '4b6ddfc3cf36230fac78019fd4d79d3aaa175a0d': 默认创建的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