Skip to content

Commit 5b4cfdc

Browse files
committed
nit
Signed-off-by: Justin Jung <[email protected]>
1 parent 94fb56a commit 5b4cfdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/storegateway/bucket_stores.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,9 @@ func (u *BucketStores) Series(req *storepb.SeriesRequest, srv storepb.Store_Seri
300300
spanLog, spanCtx := spanlogger.New(srv.Context(), "BucketStores.Series")
301301
defer spanLog.Span.Finish()
302302

303-
maxInflightRequest := u.cfg.BucketStore.MaxInflightRequests
304-
if maxInflightRequest > 0 {
305-
if u.inflightRequestCnt >= maxInflightRequest {
303+
maxInflightRequests := u.cfg.BucketStore.MaxInflightRequests
304+
if maxInflightRequests > 0 {
305+
if u.inflightRequestCnt >= maxInflightRequests {
306306
return ErrTooManyInflightRequests
307307
}
308308

0 commit comments

Comments
 (0)