Skip to content

Commit

Permalink
chore: fix some function names (#14628)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Rogers <[email protected]>
  • Loading branch information
jinjiadu and paul1r authored Oct 28, 2024
1 parent 5df3594 commit 99c423a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/bloomgateway/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func (c *GatewayClient) Close() {
c.dnsProvider.Stop()
}

// FilterChunkRefs implements Client
// FilterChunks implements Client
func (c *GatewayClient) FilterChunks(ctx context.Context, _ string, interval bloomshipper.Interval, blocks []blockWithSeries, plan plan.QueryPlan) ([]*logproto.GroupedChunkRefs, error) {
// no block and therefore no series with chunks
if len(blocks) == 0 {
Expand Down
2 changes: 1 addition & 1 deletion tools/lambda-promtail/lambda-promtail/kinesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func isGzipped(data []byte) bool {
return len(data) >= 2 && data[0] == 0x1F && data[1] == 0x8B
}

// unzipData decompress the gzipped data
// ungzipData decompress the gzipped data
func ungzipData(data []byte) ([]byte, error) {
reader, err := gzip.NewReader(bytes.NewBuffer(data))
if err != nil {
Expand Down

0 comments on commit 99c423a

Please sign in to comment.