mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #11113 from tb365/automated-cherry-pick-of-#11112-upstream-release-3.7
Automated cherry pick of #11112: fix(region): aws sync disk missing image id fix
This commit is contained in:
@@ -333,6 +333,7 @@ func (self *SRegion) GetDisks(instanceId string, zoneId string, storageType stri
|
||||
|
||||
if disk.Device == instance.RootDeviceName {
|
||||
disk.Type = api.DISK_TYPE_SYS
|
||||
disk.ImageId = instance.ImageId
|
||||
} else {
|
||||
disk.Type = api.DISK_TYPE_DATA
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user