diff options
| author | chrislusf <chris.lu@gmail.com> | 2025-12-03 19:50:42 -0800 |
|---|---|---|
| committer | chrislusf <chris.lu@gmail.com> | 2025-12-03 19:50:42 -0800 |
| commit | 4e908e0bce48827a4e44a16df169071ce4c2e103 (patch) | |
| tree | cb4de3b78887800e1d55081f4b8906b3f56d943b /pkg/driver/mount_util.go | |
| parent | 098fd583dc5a5704dec3f2af433fbe28e60e1097 (diff) | |
| download | seaweedfs-csi-driver-4e908e0bce48827a4e44a16df169071ce4c2e103.tar.xz seaweedfs-csi-driver-4e908e0bce48827a4e44a16df169071ce4c2e103.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/mount_util.go')
0 files changed, 0 insertions, 0 deletions
