Skip to content

Commit

Permalink
fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilanarayanan authored and trevorwhitney committed Aug 21, 2023
1 parent 52f0871 commit a33f35f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/storage/stores/series/series_index_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,7 @@ func (c *indexReaderWriter) chunksToSeries(ctx context.Context, in []logproto.Ch

flattened := make([]labels.Labels, 0) // Create a new slice to hold the flattened results
for _, innerSlice := range results {
for _, item := range innerSlice {
flattened = append(flattened, item)
}
flattened = append(flattened, innerSlice...)
}

sort.Slice(flattened, func(i, j int) bool {
Expand Down

0 comments on commit a33f35f

Please sign in to comment.