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 /seaweedfs-mount | |
| 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 'seaweedfs-mount')
| -rwxr-xr-x | seaweedfs-mount | bin | 0 -> 8624834 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/seaweedfs-mount b/seaweedfs-mount Binary files differnew file mode 100755 index 0000000..914d7a2 --- /dev/null +++ b/seaweedfs-mount |
