Skip to content

Commit 7d3fabf

Browse files
committed
Fix linter
1 parent ce2b86f commit 7d3fabf

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pkg/limits/frontend/mock_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ func (m *mockReadRing) GetAllHealthy(_ ring.Operation) (ring.ReplicationSet, err
121121
return m.rs, nil
122122
}
123123

124-
125124
func newMockRingWithClientPool(_ *testing.T, name string, clients []*mockIngestLimitsClient, instances []ring.InstanceDesc) (ring.ReadRing, *ring_client.Pool) {
126125
// Set up the mock ring.
127126
ring := &mockReadRing{

pkg/limits/ingest_limits.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ func (s *IngestLimits) GetAssignedPartitions(_ context.Context, _ *logproto.GetA
355355

356356
// ExceedsLimits implements the logproto.IngestLimitsServer interface.
357357
// It returns the number of active streams for a tenant and the status of requested streams.
358-
func (s *IngestLimits) ExceedsLimits(ctx context.Context, req *logproto.ExceedsLimitsRequest) (*logproto.ExceedsLimitsResponse, error) {
358+
func (s *IngestLimits) ExceedsLimits(_ context.Context, req *logproto.ExceedsLimitsRequest) (*logproto.ExceedsLimitsResponse, error) {
359359
var (
360360
lastSeenAt = time.Now()
361361
// Use the provided lastSeenAt timestamp as the last seen time

0 commit comments

Comments
 (0)