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

This commit is contained in:
rainzm
2021-07-09 19:09:57 +08:00
parent 0d9403a298
commit 8f92195928
+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) {