From 664fe61a4e6f90270733ada6c1b7865e4caff910 Mon Sep 17 00:00:00 2001 From: rainzm Date: Wed, 22 Dec 2021 21:38:55 +0800 Subject: [PATCH] fix(region): replace vpc_delete with vpc_sync_delete when sycnRemoveVpc --- pkg/compute/models/vpcs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compute/models/vpcs.go b/pkg/compute/models/vpcs.go index 0c7a06f385..8e56b40d86 100644 --- a/pkg/compute/models/vpcs.go +++ b/pkg/compute/models/vpcs.go @@ -516,7 +516,7 @@ func (self *SVpc) syncRemoveCloudVpc(ctx context.Context, userCred mcclient.Toke if err == nil { notifyclient.EventNotify(ctx, userCred, notifyclient.SEventNotifyParam{ Obj: self, - Action: notifyclient.ActionDelete, + Action: notifyclient.ActionSyncDelete, }) } }