mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Change TestConditionsCmd to assert on mathexp.Results (#58434)
This commit is contained in:
@@ -11,6 +11,10 @@ type Results struct {
|
||||
Values Values
|
||||
}
|
||||
|
||||
func NewResults(values ...Value) Results {
|
||||
return Results{Values: values}
|
||||
}
|
||||
|
||||
// Values is a slice of Value interfaces
|
||||
type Values []Value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user