aboutsummaryrefslogtreecommitdiff
path: root/weed/server/volume_server.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-10-15 01:48:15 -0700
committerChris Lu <chris.lu@gmail.com>2018-10-15 01:48:15 -0700
commitf8b2d3cacc8d8724a7082c9587e8157a3db64a7b (patch)
tree6c7ddc6c1aea155629cf5bd7def59bb550660c18 /weed/server/volume_server.go
parent66a353dcb551d621c4a59220fb4c8475a47e640a (diff)
downloadseaweedfs-f8b2d3cacc8d8724a7082c9587e8157a3db64a7b.tar.xz
seaweedfs-f8b2d3cacc8d8724a7082c9587e8157a3db64a7b.zip
move volume mount/unmount on volume server to grpc
Diffstat (limited to 'weed/server/volume_server.go')
-rw-r--r--weed/server/volume_server.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/weed/server/volume_server.go b/weed/server/volume_server.go
index 10a64a07b..c0f3ef97e 100644
--- a/weed/server/volume_server.go
+++ b/weed/server/volume_server.go
@@ -49,8 +49,6 @@ func NewVolumeServer(adminMux, publicMux *http.ServeMux, ip string,
adminMux.HandleFunc("/status", vs.guard.WhiteList(vs.statusHandler))
adminMux.HandleFunc("/admin/sync/index", vs.guard.WhiteList(vs.getVolumeIndexContentHandler))
adminMux.HandleFunc("/admin/sync/data", vs.guard.WhiteList(vs.getVolumeDataContentHandler))
- adminMux.HandleFunc("/admin/volume/mount", vs.guard.WhiteList(vs.getVolumeMountHandler))
- adminMux.HandleFunc("/admin/volume/unmount", vs.guard.WhiteList(vs.getVolumeUnmountHandler))
adminMux.HandleFunc("/stats/counter", vs.guard.WhiteList(statsCounterHandler))
adminMux.HandleFunc("/stats/memory", vs.guard.WhiteList(statsMemoryHandler))
adminMux.HandleFunc("/stats/disk", vs.guard.WhiteList(vs.statsDiskHandler))