Skip to content

Commit

Permalink
Update modules/frontend/frontend.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Umaaz committed Apr 9, 2024
1 parent 9e3fe91 commit 7dfa7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/frontend/frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type QueryFrontend struct {

// New returns a new QueryFrontend
func New(cfg Config, next http.RoundTripper, tpNext http.RoundTripper, o *overrides.Overrides, store storage.Store, logger log.Logger, registerer prometheus.Registerer) (*QueryFrontend, error) {
_ = level.Info(logger).Log("msg", "creating middleware in query frontend")
level.Info(logger).Log("msg", "creating middleware in query frontend")

if cfg.SnapshotByID.QueryShards < minQueryShards || cfg.SnapshotByID.QueryShards > maxQueryShards {
return nil, fmt.Errorf("frontend query shards should be between %d and %d (both inclusive)", minQueryShards, maxQueryShards)
Expand Down

0 comments on commit 7dfa7a9

Please sign in to comment.