ceph-csi/internal
Niels de Vos 7f7988be0d rbd: cleanup NodeServer.createTargetMountPath()
The inverse checking and returning of is-a-mounted-path makes it
difficult to understand the function. It is easier to follow the code
when the function just returns what it says it does, hence added the
comment for the function too.

Some errors were returned directly, others were converted to gRPC
errors. This has been corrected now too, and the caller converts the
plain error to a gRPC error now.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
2025-03-14 10:27:13 +00:00
..
cephfs util: do not use mount-utils.IsLikelyNotMountPoint anymore 2025-03-14 10:27:13 +00:00
controller rbd: controller to regenerate volume group omap data 2025-01-28 17:19:32 +00:00
csi-addons cleanup: move ErrImageNotFound from rbd/errors to util/errors 2025-02-17 13:33:21 +00:00
csi-common util: do not use mount-utils.IsLikelyNotMountPoint anymore 2025-03-14 10:27:13 +00:00
health-checker doc: fix codespell problem 2024-09-04 10:13:47 +00:00
journal util: move EncryptionType(s) to pkg/util/crypto 2025-03-07 16:05:04 +00:00
kms rbd: fix encrypted PVC with metadata KMS cannot be deleted 2025-02-25 13:51:42 +00:00
liveness ci: non-constant format string (govet) 2025-01-08 11:56:24 +00:00
nfs util: do not use mount-utils.IsLikelyNotMountPoint anymore 2025-03-14 10:27:13 +00:00
rbd rbd: cleanup NodeServer.createTargetMountPath() 2025-03-14 10:27:13 +00:00
util util: do not use mount-utils.IsLikelyNotMountPoint anymore 2025-03-14 10:27:13 +00:00