diff --git a/pkg/multicloud/incloudsphere/storagecache.go b/pkg/multicloud/incloudsphere/storagecache.go index 6a9eb0dd31..80563a708b 100644 --- a/pkg/multicloud/incloudsphere/storagecache.go +++ b/pkg/multicloud/incloudsphere/storagecache.go @@ -62,7 +62,7 @@ func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error return nil, err } for j := range images { - if images[i].GetImageFormat() == "iso" { + if images[j].GetImageFormat() == "iso" { continue } images[j].cache = self