ceph-csi/internal/journal
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
..
omap.go cleanup: address err113 warnings about direct error comparisons 2020-07-06 08:57:46 +00:00
voljournal.go cleanup: use errors.As() in journal.Connection methods 2020-07-03 09:12:48 +00:00