Skip to content
Prev Previous commit
Next Next commit
write gzip file extension
  • Loading branch information
owen-d committed Jan 6, 2025
commit c7c14ed191789e826610c7220ae8fdbbd58a07f3
2 changes: 1 addition & 1 deletion pkg/blockbuilder/builder/tsdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ func (u *uploader) Put(ctx context.Context, db tsdbWithID) error {
return err
}

return client.PutObject(ctx, db.id.Path(), buf)
return client.PutObject(ctx, buildFileName(db.id.Path()), buf)
}

func buildFileName(indexName string) string {
Expand Down