ceph-csi/internal/util
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
..
cephcmds.go util: simplify error handling 2020-07-23 11:16:40 +00:00
cephconf.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
conn_pool_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
conn_pool.go cleanup: address gosec warnings 2020-07-21 08:36:24 +00:00
connection.go util: simplify error handling 2020-07-23 11:16:40 +00:00
credentials.go cleanup: fix golint warnings in util, e2e 2020-05-20 13:18:41 +00:00
crypto.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
cryptsetup.go cleanup: address gosec warnings 2020-07-21 08:36:24 +00:00
csiconfig_test.go cleanup: address gosec warnings 2020-07-21 08:36:24 +00:00
csiconfig.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
errors.go util: simplify error handling 2020-07-23 11:16:40 +00:00
httpserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
idlocker_test.go journal: Add additional operation based locking 2020-07-21 13:25:19 +00:00
idlocker.go journal: Add additional operation based locking 2020-07-21 13:25:19 +00:00
k8s.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
log.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
pidlimit_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
pidlimit.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
stripsecrets.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
topology_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
topology.go cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
util_test.go util: update unit testing for deep flatten 2020-07-08 05:48:42 +00:00
util.go cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
validate.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
vault.go cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
volid_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
volid.go cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00