aboutsummaryrefslogtreecommitdiff
path: root/seaweedfs-mount
diff options
context:
space:
mode:
authorchrislusf <chris.lu@gmail.com>2025-12-06 12:30:10 -0800
committerChris Lu <chrislusf@users.noreply.github.com>2025-12-06 18:53:22 -0800
commitaa6783b759a96d12ff7e0b2cb98684311dd7d437 (patch)
tree9ed03009864aac87740751928bd4f7c4d1b53694 /seaweedfs-mount
parent37123c670b4b97ef5a28417670daca04be91888f (diff)
downloadseaweedfs-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-xseaweedfs-mountbin0 -> 8624834 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/seaweedfs-mount b/seaweedfs-mount
new file mode 100755
index 0000000..914d7a2
--- /dev/null
+++ b/seaweedfs-mount
Binary files differ