mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
fix: create disk with project-src=local
This commit is contained in:
@@ -914,6 +914,7 @@ func (self *SStorage) createDisk(name string, diskConfig *api.DiskConfig, userCr
|
||||
disk.StorageId = self.Id
|
||||
disk.AutoDelete = autoDelete
|
||||
disk.ProjectId = ownerId.GetProjectId()
|
||||
disk.ProjectSrc = string(db.PROJECT_SOURCE_LOCAL)
|
||||
disk.DomainId = ownerId.GetProjectDomainId()
|
||||
disk.IsSystem = isSystem
|
||||
|
||||
|
||||
Reference in New Issue
Block a user