mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-22 08:23:50 +01:00
range bounds fixup
This commit is contained in:
parent
1fc4e62128
commit
2c15db9cfe
@ -366,8 +366,6 @@ func (r *CreateTXGRange) effectiveBounds() (bounds effectiveBounds, err error) {
|
||||
if !bounds.sinceUnbounded && !bounds.untilUnbounded {
|
||||
if bounds.sinceInclusive >= bounds.untilInclusive {
|
||||
return bounds, errors.Errorf("effective range bounds are [%v,%v] which is empty or invalid", bounds.sinceInclusive, bounds.untilInclusive)
|
||||
} else {
|
||||
// OK, not empty, fallthrough
|
||||
}
|
||||
// fallthrough
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user