From ccfc1168e00f54cd98a0f484ed3459a2d340d7cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=88=E8=BD=A9?= Date: Mon, 11 Feb 2019 20:10:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=AE=89=E5=85=A8=E7=BB=84?= =?UTF-8?q?=E5=90=8E=E5=85=88=E9=9A=90=E8=97=8F=E5=90=8E=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/compute/models/secgroups.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/compute/models/secgroups.go b/pkg/compute/models/secgroups.go index 1bd2254669..f1d8c14b97 100644 --- a/pkg/compute/models/secgroups.go +++ b/pkg/compute/models/secgroups.go @@ -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 {