* Some typos fixed in comment lines.

Signed-off-by: Gökhan Özeloğlu <gozeloglu@gmail.com>
This commit is contained in:
Gökhan Özeloğlu
2025-03-03 15:49:08 +03:00
committed by GitHub
parent 70f6095293
commit 6941229bad
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ func AllEncodings() []VersionedEncoding {
}
}
// OpenBlock for reading in the backend. It automatically chooes the encoding for the given block.
// OpenBlock for reading in the backend. It automatically chooses the encoding for the given block.
func OpenBlock(meta *backend.BlockMeta, r backend.Reader) (common.BackendBlock, error) {
v, err := FromVersion(meta.Version)
if err != nil {

View File

@ -220,7 +220,7 @@ func (rw *readerWriter) CompleteBlock(ctx context.Context, block common.WALBlock
return rw.CompleteBlockWithBackend(ctx, block, rw.r, rw.w)
}
// CompleteBlock iterates the given WAL block but flushes it to the given backend instead of the default TempoDB backend. The
// CompleteBlockWithBackend iterates the given WAL block but flushes it to the given backend instead of the default TempoDB backend. The
// new block will have the same ID as the input block.
func (rw *readerWriter) CompleteBlockWithBackend(ctx context.Context, block common.WALBlock, r backend.Reader, w backend.Writer) (common.BackendBlock, error) {
// The destination block format: