diff options
| author | chrislusf <chris.lu@gmail.com> | 2025-12-03 19:36:35 -0800 |
|---|---|---|
| committer | Chris Lu <chrislusf@users.noreply.github.com> | 2025-12-03 20:52:27 -0800 |
| commit | 05ac88f67723f1a6ce60543413f3ae59d2e85654 (patch) | |
| tree | 2030b7f8be258b90c07da00cb4a9a1e593abe966 /pkg/driver/driver.go | |
| parent | e76bd693e2022ac71f857548b0919155ebb04ca9 (diff) | |
| download | seaweedfs-csi-driver-05ac88f67723f1a6ce60543413f3ae59d2e85654.tar.xz seaweedfs-csi-driver-05ac88f67723f1a6ce60543413f3ae59d2e85654.zip | |
refactor: address code review feedback
- Handle unexpected stat errors in cleanupStaleStagingPath (high priority)
- Extract staging logic into stageNewVolume helper method for reuse
- Extract isReadOnlyAccessMode helper to avoid duplicated read-only checks
- Remove redundant mountutil.Unmount call (CleanupMountPoint already handles it)
Diffstat (limited to 'pkg/driver/driver.go')
0 files changed, 0 insertions, 0 deletions
