From 863fe11e563f7c585eb5582a4a45f7854bf446a1 Mon Sep 17 00:00:00 2001 From: Tank Date: Tue, 2 Nov 2021 09:07:02 -0400 Subject: [PATCH] fix json declaration for groupBy --- panel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel.go b/panel.go index fff6c1fc..f85270fa 100644 --- a/panel.go +++ b/panel.go @@ -566,7 +566,7 @@ type Target struct { CrossSeriesReducer string `json:"crossSeriesReducer,omitempty"` PerSeriesAligner string `json:"perSeriesAligner,omitempty"` ValueType string `json:"valueType,omitempty"` - GroupBy []string `json:"groupBys,omitempty"` + GroupBy []string `json:"groupBy,omitempty"` Tags []struct { Key string `json:"key,omitempty"` Operator string `json:"operator,omitempty"`