mirror of
https://github.com/grafana/tempo.git
synced 2025-03-14 03:06:42 +00:00
Fix typos (#4776)
* Some typos fixed in comment lines. Signed-off-by: Gökhan Özeloğlu <gozeloglu@gmail.com>
This commit is contained in:
@ -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 {
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user