From 524ffdcbc7b7822e3480284637ee6548cc5c8a02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Tue, 17 Dec 2024 15:07:38 -0500 Subject: [PATCH] try to silence gofumpt which i don't have here MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Antoine Beaupré --- silence/silence.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/silence/silence.go b/silence/silence.go index 3083073269..f7804864eb 100644 --- a/silence/silence.go +++ b/silence/silence.go @@ -1076,14 +1076,14 @@ func openReplace(filename string) (*replaceFile, error) { // now. func (s *Silences) logginSilences(msg string, sil *pb.Silence) { var listMatchers []string - var matcher_type_operator = map[string]string{ + var matcherTypeOperator = map[string]string{ "EQUAL": "=", "REGEXP": "=~", "NOT_EQUAL": "!=", "NOT_REGEXP": "!~", } for _, matcher := range sil.Matchers { - ms := []string{matcher.Name, matcher_type_operator[matcher.Type.String()], matcher.Pattern} + ms := []string{matcher.Name, matcherTypeOperator[matcher.Type.String()], matcher.Pattern} m := strings.Join(ms, ``) listMatchers = append(listMatchers, m) }