Browse Source

gofumpt

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
pull/11826/head
Danny Kopping 2 years ago
parent
commit
d8f3e7d16c
No known key found for this signature in database
GPG Key ID: 41DF981954E816FD
  1. 6
      rules/origin.go

6
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{

Loading…
Cancel
Save