From d72593cca2445bfc70a8a5e9b48f11bff43eb2ef Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 7 Sep 2021 22:50:01 +0300 Subject: [PATCH] app/vmalert: document GroupAlerts This makes golint happy --- app/vmalert/web_types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/vmalert/web_types.go b/app/vmalert/web_types.go index e2ad7357e..5a4f25362 100644 --- a/app/vmalert/web_types.go +++ b/app/vmalert/web_types.go @@ -61,6 +61,7 @@ type APIRecordingRule struct { Labels map[string]string `json:"labels"` } +// GroupAlerts represents a group of alerts for WEB view type GroupAlerts struct { Group APIGroup Alerts []*APIAlert