Skip to content

Commit 88ed15a

Browse files
committed
Fix lint
1 parent c838ab1 commit 88ed15a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

convert/convert.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func ConvertTSDBBlock(
217217
return 0, fmt.Errorf("failed to convert shards in parallel: %w", err)
218218
}
219219

220-
if err := writeMetaFile(start, end, name, int64(len(shardedRowReaders)), bkt, ctx); err != nil {
220+
if err := writeMetaFile(ctx, start, end, name, int64(len(shardedRowReaders)), bkt); err != nil {
221221
return 0, fmt.Errorf("failed to write meta file: %w", err)
222222
}
223223

@@ -240,7 +240,7 @@ type blockSeries struct {
240240
labels labels.Labels
241241
}
242242

243-
func writeMetaFile(start int64, end int64, name string, numShards int64, bkt objstore.Bucket, ctx context.Context) error {
243+
func writeMetaFile(ctx context.Context, start int64, end int64, name string, numShards int64, bkt objstore.Bucket) error {
244244
meta := &metapb.Metadata{
245245
Version: schema.V2,
246246
Mint: start,

0 commit comments

Comments
 (0)