ceph-csi/internal/rbd
Sven Anderson de74c36d8c cleanup: address err113 warnings about direct error comparisons
Several places in the code compared errors directly with the go-ceph
sentinel errors.  This change uses the errors.Is() function of go
1.13 instead.  The err113 linter reported this issue as:

err113: do not compare errors directly, use errors.Is() instead

Signed-off-by: Sven Anderson <sven@redhat.com>
2020-07-06 08:57:46 +00:00
..
controllerserver.go cleanup: use errors.As() in rbd/controllerserver methods 2020-07-03 09:12:48 +00:00
driver.go rbd: add skipForceFlatten flag 2020-07-01 08:21:47 +00:00
errors.go rbd: add Unwrap() to error types 2020-07-03 09:12:48 +00:00
identityserver.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
nodeserver_test.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
nodeserver.go cleanup: use errors.As() in rbd.NodeUnstageVolume() 2020-07-03 09:12:48 +00:00
rbd_attach.go rbd: Add support for rbd ROX PVC mounting 2020-06-22 06:15:40 +00:00
rbd_journal.go cleanup: use errors.As() in rbdVolume.Exists() and rbd.checkSnapExists() 2020-07-03 09:12:48 +00:00
rbd_util_test.go rbd: use librbd.FeatureSet for features 2020-06-19 11:37:29 +00:00
rbd_util.go cleanup: address err113 warnings about direct error comparisons 2020-07-06 08:57:46 +00:00
snapshot.go rbd: Implement snapshot and clone from snapshot 2020-07-01 08:21:47 +00:00