aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-06-14 14:13:45 +0000
committerGravatar Runxi Yu2026-06-14 14:13:45 +0000
commitc9fdf61bd91875cdc71559cd9bab8314ad8775e1 (patch)
treecd970e43d1c47fa8888bbb99f760c8cf13fdf0b8 /cmd
parentinternal/format/packidx/bloom: Add trailers (diff)
object/store/packed, cmd/idx-bloom: NewBuilder wants a PackHash
Diffstat (limited to 'cmd')
-rw-r--r--cmd/idx-bloom/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/idx-bloom/main.go b/cmd/idx-bloom/main.go
index 62fb347b..fa471237 100644
--- a/cmd/idx-bloom/main.go
+++ b/cmd/idx-bloom/main.go
@@ -86,7 +86,7 @@ func buildFilter(objectFormat id.ObjectFormat, index *packidx.Packidx) ([]byte,
return nil, fmt.Errorf("choosing parameters: %w", err)
}
- builder, err := bloom.NewBuilder(objectFormat, bucketCount, k)
+ builder, err := bloom.NewBuilder(objectFormat, bucketCount, k, index.PackHash())
if err != nil {
return nil, fmt.Errorf("creating builder: %w", err)
}