From b7ff82d7223d4e694c2314957677af681765ad72 Mon Sep 17 00:00:00 2001 From: Ulric Qin Date: Wed, 13 Jul 2022 19:24:09 +0800 Subject: [PATCH] alertSubscribePut can modify cluster --- src/webapi/router/router_alert_subscribe.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/webapi/router/router_alert_subscribe.go b/src/webapi/router/router_alert_subscribe.go index aa182d50..f45caf8f 100644 --- a/src/webapi/router/router_alert_subscribe.go +++ b/src/webapi/router/router_alert_subscribe.go @@ -74,6 +74,7 @@ func alertSubscribePut(c *gin.Context) { fs[i].UpdateBy = username fs[i].UpdateAt = timestamp ginx.Dangerous(fs[i].Update( + "cluster", "rule_id", "tags", "redefine_severity",