Skip to content

Commit

Permalink
refactor: change is_recovered type
Browse files Browse the repository at this point in the history
  • Loading branch information
710leo committed Nov 19, 2024
1 parent a2b506e commit fde6a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alert/sender/ibex.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func CallIbex(ctx *ctx.Context, id int64, host string,
// 附加告警级别 告警触发值标签
tagsMap["alert_severity"] = strconv.Itoa(event.Severity)
tagsMap["alert_trigger_value"] = event.TriggerValue
tagsMap["is_recovered"] = event.IsRecovered
tagsMap["is_recovered"] = strconv.FormatBool(event.IsRecovered)

tags, err := json.Marshal(tagsMap)
if err != nil {
Expand Down

0 comments on commit fde6a9c

Please sign in to comment.