chore: remove unused code (#16770)

pull/16771/head
George Robinson 10 months ago committed by GitHub
parent 342fd40742
commit 401d31445d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      pkg/limits/frontend/service.go

@ -2,9 +2,7 @@ package frontend
import (
"context"
"fmt"
"slices"
"strings"
"time"
"github.com/go-kit/log"
@ -145,12 +143,6 @@ func (s *RingIngestLimitsService) forGivenReplicaSet(ctx context.Context, replic
if err != nil {
return err
}
var partitionStr strings.Builder
for _, partition := range partitions[instance.Addr] {
partitionStr.WriteString(fmt.Sprintf("%d,", partition))
}
resp, err := f(ctx, client.(logproto.IngestLimitsClient), partitions[instance.Addr])
if err != nil {
return err

Loading…
Cancel
Save