Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benclive committed Sep 26, 2024
1 parent 4f132fc commit c7409ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/ingester/recalculate_owned_streams.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ func (s *ownedStreamsIngesterStrategy) isOwnedStream(str *stream) (bool, error)
hostsBuf := s.hostsBufPool.Get().([]string)
zoneBuf := s.zoneBufPool.Get().([]string)
defer func() {
s.descsBufPool.Put(descsBuf)
s.hostsBufPool.Put(hostsBuf)
s.zoneBufPool.Put(zoneBuf)
s.descsBufPool.Put(&descsBuf)
s.hostsBufPool.Put(&hostsBuf)
s.zoneBufPool.Put(&zoneBuf)
}()

replicationSet, err := s.ingestersRing.Get(lokiring.TokenFor(str.tenant, str.labelsString), ring.WriteNoExtend, descsBuf, hostsBuf, zoneBuf)
Expand Down

0 comments on commit c7409ae

Please sign in to comment.