mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
删除安全组后先隐藏后删除
This commit is contained in:
@@ -443,8 +443,7 @@ func (self *SSecurityGroup) StartDeleteSecurityGroupTask(ctx context.Context, us
|
||||
}
|
||||
|
||||
func (self *SSecurityGroup) Delete(ctx context.Context, userCred mcclient.TokenCredential) error {
|
||||
log.Infof("SecurityGroup delete do nothing")
|
||||
return nil
|
||||
return self.SSharableVirtualResourceBase.DoPendingDelete(ctx, userCred)
|
||||
}
|
||||
|
||||
func (self *SSecurityGroup) RealDelete(ctx context.Context, userCred mcclient.TokenCredential) error {
|
||||
|
||||
Reference in New Issue
Block a user