From 79920331567328bbabaaecfeb3f1cec2367fb747 Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Tue, 13 Oct 2020 12:16:14 +0530 Subject: [PATCH] rbd: remove false error condition check in rbdVol.Exists() Signed-off-by: Humble Chirammal --- internal/rbd/rbd_journal.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/rbd/rbd_journal.go b/internal/rbd/rbd_journal.go index 231ca0d56..ded614297 100644 --- a/internal/rbd/rbd_journal.go +++ b/internal/rbd/rbd_journal.go @@ -306,10 +306,6 @@ func (rv *rbdVolume) Exists(ctx context.Context, parentVol *rbdVolume) (bool, er return false, err } } - if err != nil { - util.ErrorLog(ctx, "failed to get stored image id: %v", err) - return false, err - } // size checks if rv.VolSize < requestSize {