aboutsummaryrefslogtreecommitdiff
path: root/pkg/driver/utils.go
diff options
context:
space:
mode:
authorchrislusf <chris.lu@gmail.com>2025-12-03 19:50:42 -0800
committerChris Lu <chrislusf@users.noreply.github.com>2025-12-03 20:52:27 -0800
commit921804525b8c4eaf840ac4c4956ce271712d3692 (patch)
tree93af3b58c63f16874c16e83e7bdcc4607fe859e7 /pkg/driver/utils.go
parentd432e63322e0237f2f5ced3580f6233f401e9e48 (diff)
downloadseaweedfs-csi-driver-921804525b8c4eaf840ac4c4956ce271712d3692.tar.xz
seaweedfs-csi-driver-921804525b8c4eaf840ac4c4956ce271712d3692.zip
fix: propagate errors instead of just logging warnings
Address gemini-code-assist review feedback: 1. Return error from volume.Quota() failure in stageNewVolume - quota failures should fail the staging operation 2. Return error from cleanupStaleStagingPath() in NodeStageVolume - fail fast if cleanup fails rather than attempting to stage anyway 3. Return error from cleanupStaleStagingPath() in NodePublishVolume - same fail-fast behavior for consistency 4. Return error from mount.CleanupMountPoint() in Volume.Unstage() - propagate cleanup errors to caller as expected
Diffstat (limited to 'pkg/driver/utils.go')
0 files changed, 0 insertions, 0 deletions