rbd: remove false error condition check in rbdVol.Exists()

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal 2020-10-13 12:16:14 +05:30 committed by mergify[bot]
parent c9b7b6561a
commit 7992033156

View File

@ -306,10 +306,6 @@ func (rv *rbdVolume) Exists(ctx context.Context, parentVol *rbdVolume) (bool, er
return false, err return false, err
} }
} }
if err != nil {
util.ErrorLog(ctx, "failed to get stored image id: %v", err)
return false, err
}
// size checks // size checks
if rv.VolSize < requestSize { if rv.VolSize < requestSize {