diff --git a/silence/silence.go b/silence/silence.go index 32728473b6..3083073269 100644 --- a/silence/silence.go +++ b/silence/silence.go @@ -1069,6 +1069,11 @@ func openReplace(filename string) (*replaceFile, error) { } // logging silence status changes. +// +// XXX: This rewrites some code present in cli/format/format.go, +// labelsMatcher() and cli/format/format_extended.go, +// FormatSilences(). Refactoring this seems a little out of scope for +// now. func (s *Silences) logginSilences(msg string, sil *pb.Silence) { var listMatchers []string var matcher_type_operator = map[string]string{