fix(region): set DefaultSysDiskBackend as empty for esxi guest

This commit is contained in:
rainzm
2021-07-09 19:13:48 +08:00
parent 7d13ffd432
commit 742b05540d
+1 -1
View File
@@ -94,7 +94,7 @@ func (self *SESXiGuestDriver) GetComputeQuotaKeys(scope rbacutils.TRbacScope, ow
}
func (self *SESXiGuestDriver) GetDefaultSysDiskBackend() string {
return api.STORAGE_LOCAL
return ""
}
func (self *SESXiGuestDriver) ChooseHostStorage(host *models.SHost, guest *models.SGuest, diskConfig *api.DiskConfig, storageIds []string) (*models.SStorage, error) {