From d8f3e7d16cbcbbd705791753993eb288fb741a65 Mon Sep 17 00:00:00 2001 From: Danny Kopping Date: Mon, 9 Jan 2023 10:42:13 +0200 Subject: [PATCH] gofumpt Signed-off-by: Danny Kopping --- rules/origin.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rules/origin.go b/rules/origin.go index c972244a0..e78a07de5 100644 --- a/rules/origin.go +++ b/rules/origin.go @@ -10,8 +10,10 @@ type RuleDetail struct { Query string } -const KindAlerting = "alerting" -const KindRecording = "recording" +const ( + KindAlerting = "alerting" + KindRecording = "recording" +) func NewRuleDetail(name, query, kind string) RuleDetail { return RuleDetail{