From 15642769fca4e30d1a416c39b44eb84187918eed Mon Sep 17 00:00:00 2001 From: ioito Date: Fri, 14 Oct 2022 16:29:19 +0800 Subject: [PATCH] fix(reigon): incloudsphere image sync --- pkg/multicloud/incloudsphere/storagecache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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