mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
feat(esxi): disable sync cloudimage from image cache
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user