mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-31 02:38:07 +08:00
fix(region): remove storagecachedimage (#20185)
This commit is contained in:
@@ -385,7 +385,7 @@ func (self *SStoragecachedimage) syncRemoveCloudImage(ctx context.Context, userC
|
||||
defer lockman.ReleaseObject(ctx, self)
|
||||
|
||||
image := self.GetCachedimage()
|
||||
err := self.Detach(ctx, userCred)
|
||||
err := self.Delete(ctx, userCred)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user