mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 22:02:22 +08:00
Expressions: Add model struct for the query types (not map[string]any) (#82745)
This commit is contained in:
@ -210,7 +210,7 @@ func TestReduceExecute(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
func randomReduceFunc() string {
|
||||
func randomReduceFunc() mathexp.ReducerID {
|
||||
res := mathexp.GetSupportedReduceFuncs()
|
||||
return res[rand.Intn(len(res))]
|
||||
}
|
||||
|
Reference in New Issue
Block a user