Skip to content

Commit

Permalink
Add some missing struct fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksontj committed Aug 28, 2024
1 parent 0ff2efc commit ca42886
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/proxystorage/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,12 @@ func (p *ProxyStorage) MetadataHandler(w http.ResponseWriter, r *http.Request) {
func (p *ProxyStorage) Querier(ctx context.Context, mint, maxt int64) (storage.Querier, error) {
state := p.GetState()
return &proxyquerier.ProxyQuerier{
ctx,
timestamp.Time(mint).UTC(),
timestamp.Time(maxt).UTC(),
state.client,
Ctx: ctx,
Start: timestamp.Time(mint).UTC(),
End: timestamp.Time(maxt).UTC(),
Client: state.client,

&state.cfg.PromxyConfig,
Cfg: &state.cfg.PromxyConfig,
}, nil
}

Expand Down

0 comments on commit ca42886

Please sign in to comment.