mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
rbd: remove false error condition check in rbdVol.Exists()
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
c9b7b6561a
commit
7992033156
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user