Merge pull request #12993 from rainzm/webhook/fix_2

fix(region): replace vpc_delete with vpc_sync_delete when sycnRemoveVpc
This commit is contained in:
Zexi Li
2021-12-22 22:31:33 +08:00
committed by GitHub
+1 -1
View File
@@ -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,
})
}
}