feat(esxi): disable sync cloudimage from image cache

This commit is contained in:
rainzm
2021-06-23 17:05:50 +08:00
parent d791cba145
commit 882d885aa4
+6 -5
View File
@@ -249,11 +249,12 @@ func (self *SDatastoreImageCache) GetICloudImages() ([]cloudprovider.ICloudImage
if err != nil {
return nil, err
}
images2, err := self.GetIImageInImagecache()
if err != nil {
return nil, err
}
return append(images1, images2...), nil
return images1, nil
// images2, err := self.GetIImageInImagecache()
// if err != nil {
// return nil, err
// }
// return append(images1, images2...), nil
}
func (self *SDatastoreImageCache) GetIImageById(extId string) (cloudprovider.ICloudImage, error) {