From 35b5a049ef6c406e1e334af3a8d7508d3e85da85 Mon Sep 17 00:00:00 2001 From: rainzm Date: Wed, 13 Oct 2021 19:56:16 +0800 Subject: [PATCH] fix(notify): modify resource list of topic --- pkg/notify/models/topic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/notify/models/topic.go b/pkg/notify/models/topic.go index 861b605e73..8797c8626b 100644 --- a/pkg/notify/models/topic.go +++ b/pkg/notify/models/topic.go @@ -136,6 +136,7 @@ func (sm *STopicManager) InitializeData() error { notify.TOPIC_RESOURCE_DBINSTANCE, notify.TOPIC_RESOURCE_ELASTICCACHE, notify.TOPIC_RESOURCE_BAREMETAL, + notify.TOPIC_RESOURCE_SECGROUP, ) t.addAction( notify.ActionCreate, @@ -146,7 +147,6 @@ func (sm *STopicManager) InitializeData() error { case DefaultResourceChangeConfig: t.addResources( notify.TOPIC_RESOURCE_SERVER, - notify.TOPIC_RESOURCE_DISK, notify.TOPIC_RESOURCE_DBINSTANCE, notify.TOPIC_RESOURCE_ELASTICCACHE, )