ceph-csi/internal/rbd
Sven Anderson 8393fbe40b util: simplify error handling
The sentinel error code had additional fields in the errors, that are
used nowhere.  This leads to unneccesarily complicated code.  This
change replaces the sentinel errors in utils with standard errors
created with errors.New() and adds a simple JoinErrors() function to
be able to combine sentinel errors from different code tiers.

Related: #1203

Signed-off-by: Sven Anderson <sven@redhat.com>
2020-07-23 11:16:40 +00:00
..
clone.go cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
controllerserver.go util: simplify error handling 2020-07-23 11:16:40 +00:00
driver.go rbd: take operation locks before operating on resource 2020-07-21 13:25:19 +00:00
errors.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
identityserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
nodeserver_test.go cleanup: Remove support for Delete and Unmounting v1.1.0 PVC 2020-07-10 16:07:13 +00:00
nodeserver.go cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
rbd_attach.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
rbd_journal.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
rbd_util_test.go cleanup: Remove support for Delete and Unmounting v1.1.0 PVC 2020-07-10 16:07:13 +00:00
rbd_util.go cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
snapshot.go rbd: Add support for smart cloning 2020-07-10 14:02:12 +00:00