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:
Zexi Li
2021-05-14 17:33:05 +08:00
committed by GitHub
+1
View File
@@ -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
}