From f14e25612e759ffd9d1bacded421bfa938760dac Mon Sep 17 00:00:00 2001 From: bergquist Date: Wed, 15 Feb 2017 14:15:42 +0100 Subject: [PATCH] annotations: go vet fixes --- pkg/services/annotations/annotations.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/services/annotations/annotations.go b/pkg/services/annotations/annotations.go index 3fc3bafe5c5..d9d15bca34b 100644 --- a/pkg/services/annotations/annotations.go +++ b/pkg/services/annotations/annotations.go @@ -11,14 +11,14 @@ type Repository interface { type ItemQuery struct { OrgId int64 `json:"orgId"` From int64 `json:"from"` - To int64 `json:"from"` + To int64 `json:"to"` Type ItemType `json:"type"` AlertId int64 `json:"alertId"` DashboardId int64 `json:"dashboardId"` PanelId int64 `json:"panelId"` NewState []string `json:"newState"` - Limit int64 `json:"alertId"` + Limit int64 `json:"limit"` } type DeleteParams struct { @@ -48,7 +48,7 @@ type Item struct { OrgId int64 `json:"orgId"` DashboardId int64 `json:"dashboardId"` PanelId int64 `json:"panelId"` - CategoryId int64 `json:"panelId"` + CategoryId int64 `json:"categoryId"` Type ItemType `json:"type"` Title string `json:"title"` Text string `json:"text"`