Browse Source

fix(influxdb): minor fix for duplicated db param to proxied influxdb call, fixes #4703

Torkel Ödegaard 9 years ago
parent
commit
711992c8e2
1 changed files with 0 additions and 1 deletions
  1. 0 1
      pkg/api/dataproxy.go

+ 0 - 1
pkg/api/dataproxy.go

@@ -41,7 +41,6 @@ func NewReverseProxy(ds *m.DataSource, proxyPath string, targetUrl *url.URL) *ht
 			req.URL.RawQuery = reqQueryVals.Encode()
 		} else if ds.Type == m.DS_INFLUXDB {
 			req.URL.Path = util.JoinUrlFragments(targetUrl.Path, proxyPath)
-			reqQueryVals.Add("db", ds.Database)
 			req.URL.RawQuery = reqQueryVals.Encode()
 			if !ds.BasicAuth {
 				req.Header.Del("Authorization")