diff options
| author | chrislusf <chris.lu@gmail.com> | 2025-12-06 12:30:10 -0800 |
|---|---|---|
| committer | Chris Lu <chrislusf@users.noreply.github.com> | 2025-12-06 18:53:22 -0800 |
| commit | aa6783b759a96d12ff7e0b2cb98684311dd7d437 (patch) | |
| tree | 9ed03009864aac87740751928bd4f7c4d1b53694 /pkg/mountmanager/manager.go | |
| parent | 37123c670b4b97ef5a28417670daca04be91888f (diff) | |
| download | seaweedfs-csi-driver-aa6783b759a96d12ff7e0b2cb98684311dd7d437.tar.xz seaweedfs-csi-driver-aa6783b759a96d12ff7e0b2cb98684311dd7d437.zip | |
refactor: use generic helper for mount/unmount handlers
Reduce code duplication by using a generic makePostHandler function
that abstracts the common logic of handling POST requests, decoding
JSON, calling a manager function, and encoding the JSON response.
Diffstat (limited to 'pkg/mountmanager/manager.go')
0 files changed, 0 insertions, 0 deletions
