AlertingNG: remove warn/crit from eval prototype (#28334)

and misc cleanup
This commit is contained in:
Kyle Brandt authored and GitHub committed 2020-10-16 12:33:57 -04:00
1 parent 4c8e4f35d1
commit 44a795cb17
4 files changed
+54 -46

No files matched your search

+3 -3
View File
@@ -6,7 +6,7 @@ import (
eval "github.com/grafana/grafana/pkg/services/ngalert"
)
type EvalAlertConditionsCommand struct {
Conditions eval.Conditions `json:"conditions"`
Now time.Time `json:"now"`
type EvalAlertConditionCommand struct {
Condition eval.Condition `json:"condition"`
Now time.Time `json:"now"`
}