aboutsummaryrefslogtreecommitdiff
path: root/cmd/seaweedfs-mount/main.go
AgeCommit message (Collapse)AuthorFilesLines
14 daysrefactor: use generic helper for mount/unmount handlerschrislusf1-41/+27
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.
14 daysfix: use StatusInternalServerError for mount/unmount errorschrislusf1-2/+2
Errors from manager.Mount and manager.Unmount can be due to internal server issues (filesystem errors, process start failures) not just bad client requests.
14 daysOptimization: Reduce unnecessary logic of seaweedfs-mount泽淼 周1-21/+0
14 daysfeat: Separated weed mount lifecycle into a dedicated service and rewired ↵泽淼 周1-0/+153
the CSI components to call it.