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 Query string
} }
const KindAlerting = "alerting" const (
const KindRecording = "recording" KindAlerting = "alerting"
KindRecording = "recording"
)
func NewRuleDetail(name, query, kind string) RuleDetail { func NewRuleDetail(name, query, kind string) RuleDetail {
return RuleDetail{ return RuleDetail{

Loading…
Cancel
Save