From 2c15db9cfef1f66ee98e0fb16aac3f224639d5b5 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Sun, 5 Apr 2020 20:57:34 +0200 Subject: [PATCH] range bounds fixup --- endpoint/endpoint_zfs_abstraction.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/endpoint/endpoint_zfs_abstraction.go b/endpoint/endpoint_zfs_abstraction.go index 9b28926..d29a0d6 100644 --- a/endpoint/endpoint_zfs_abstraction.go +++ b/endpoint/endpoint_zfs_abstraction.go @@ -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 }