From fb230a7f42a3a59a772f4a3354c92411f8be9855 Mon Sep 17 00:00:00 2001 From: Chris Goller Date: Wed, 21 Sep 2016 15:37:01 -0700 Subject: [PATCH] Fix typo for autogenerated code --- handlers/proxy.go | 2 +- mock/handlers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/proxy.go b/handlers/proxy.go index 5b6243b8d..730b84608 100644 --- a/handlers/proxy.go +++ b/handlers/proxy.go @@ -17,7 +17,7 @@ func (h *InfluxProxy) Proxy(ctx context.Context, params op.PostSourcesIDProxyPar // TODO: Add support for multiple TimeSeries with lookup based on params.ID query := mrfusion.Query{ Command: *params.Query.Query, - DB: params.Query.DB, + DB: params.Query.Db, RP: params.Query.Rp, } diff --git a/mock/handlers.go b/mock/handlers.go index c307ec42d..f0764ce4a 100644 --- a/mock/handlers.go +++ b/mock/handlers.go @@ -59,7 +59,7 @@ func (m *Handler) SourcesID(ctx context.Context, params op.GetSourcesIDParams) m func (m *Handler) Proxy(ctx context.Context, params op.PostSourcesIDProxyParams) middleware.Responder { query := mrfusion.Query{ Command: *params.Query.Query, - DB: params.Query.DB, + DB: params.Query.Db, RP: params.Query.Rp, } response, err := m.TimeSeries.Query(ctx, mrfusion.Query(query))