Merge pull request #15463 from swordqiu/automated-cherry-pick-of-#15462-upstream-release-3.10

Automated cherry pick of #15462: fix: aws sync os_arch
This commit is contained in:
Zexi Li
2022-11-30 17:53:50 +08:00
committed by GitHub
+1 -1
View File
@@ -2840,7 +2840,7 @@ func (self *SGuest) syncWithCloudVM(ctx context.Context, userCred mcclient.Token
self.BootOrder = extVM.GetBootOrder()
self.Vga = extVM.GetVga()
self.Vdi = extVM.GetVdi()
if len(self.OsArch) == 0 {
if len(extVM.GetOsArch()) > 0 {
self.OsArch = extVM.GetOsArch()
}
if len(self.OsType) == 0 {