Remove encode of params in query before DoGetFallback (#563)

Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>
This commit is contained in:
Thomas Jackson 2019-04-30 23:28:05 -07:00 committed by Krasi Georgiev
parent a4daf0098c
commit 3f6cbd9560
1 changed files with 0 additions and 2 deletions

View File

@ -538,8 +538,6 @@ func (h *httpAPI) Query(ctx context.Context, query string, ts time.Time) (model.
q.Set("time", ts.Format(time.RFC3339Nano)) q.Set("time", ts.Format(time.RFC3339Nano))
} }
u.RawQuery = q.Encode()
_, body, err := api.DoGetFallback(h.client, ctx, u, q) _, body, err := api.DoGetFallback(h.client, ctx, u, q)
if err != nil { if err != nil {
return nil, err return nil, err