mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-19 21:00:24 +00:00
de74c36d8c
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> |
||
---|---|---|
.. | ||
controllerserver.go | ||
driver.go | ||
errors.go | ||
identityserver.go | ||
nodeserver_test.go | ||
nodeserver.go | ||
rbd_attach.go | ||
rbd_journal.go | ||
rbd_util_test.go | ||
rbd_util.go | ||
snapshot.go |