From 97994a4cfea08d477bd58e455b8842efcddd2d5d Mon Sep 17 00:00:00 2001 From: Chris Goller Date: Thu, 20 Apr 2017 18:23:59 -0500 Subject: [PATCH] Update template query json key to be influxql --- chronograf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chronograf.go b/chronograf.go index 4cb3dc31a..e3f541651 100644 --- a/chronograf.go +++ b/chronograf.go @@ -189,7 +189,7 @@ type DashboardQuery struct { // TemplateQuery is used to retrieve choices for template replacement type TemplateQuery struct { - Command string `json:"query"` // Command is the query itself + Command string `json:"influxql"` // Command is the query itself DB string `json:"db,omitempty"` // DB is optional and if empty will not be used. RP string `json:"rp,omitempty"` // RP is a retention policy and optional; if empty will not be used. Measurement string `json:"measurement"` // Measurement is the optinally selected measurement for the query