Skip to content

Commit

Permalink
fixup! fixup! Move MultiFingerprintBounds into pkg/storage/blooms/v1 …
Browse files Browse the repository at this point in the history
…package

Signed-off-by: Christian Haudum <[email protected]>
  • Loading branch information
chaudum committed Feb 20, 2024
1 parent 1606dda commit c212ef0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pkg/storage/bloom/v1/bounds.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,8 @@ func (mb MultiFingerprintBounds) Union(target FingerprintBounds) MultiFingerprin
return -1
} else if a.Equal(b) {
return 0
} else {
return 1
}
return 1
})

var union MultiFingerprintBounds
Expand Down
2 changes: 1 addition & 1 deletion pkg/storage/bloom/v1/bounds_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func Test_MultiFingerprintBounds(t *testing.T) {
},
},
{
desc: "disjoint ranges and target is inbetween",
desc: "disjoint ranges and target is between",
mb: MultiFingerprintBounds{
NewBounds(0, 9),
NewBounds(30, 39),
Expand Down

0 comments on commit c212ef0

Please sign in to comment.