From e9d111f073b7e0ab425cd6d8736813d52eabb6f3 Mon Sep 17 00:00:00 2001 From: gouqi11 <66834753+gouqi11@users.noreply.github.com> Date: Wed, 27 Dec 2023 17:30:54 +0800 Subject: [PATCH] fix(monitor): fix alertRecord manager (#19119) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 马鸿飞 --- pkg/monitor/models/alertrecord.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/monitor/models/alertrecord.go b/pkg/monitor/models/alertrecord.go index 0485d79f9a..205b7406d2 100644 --- a/pkg/monitor/models/alertrecord.go +++ b/pkg/monitor/models/alertrecord.go @@ -55,8 +55,8 @@ type SAlertRecord struct { Level string `charset:"ascii" width:"36" nullable:"false" default:"normal" list:"user" update:"user"` State string `width:"36" charset:"ascii" nullable:"false" default:"unknown" list:"user" update:"user"` SendState string `width:"36" charset:"ascii" default:"ok" list:"user" update:"user"` - EvalData jsonutils.JSONObject `list:"user" update:"user" length:""` - AlertRule jsonutils.JSONObject `list:"user" update:"user" length:""` + EvalData jsonutils.JSONObject `list:"user" update:"user" length:"medium"` + AlertRule jsonutils.JSONObject `list:"user" update:"user" length:"medium"` ResType string `width:"36" list:"user" update:"user"` }