aboutsummaryrefslogtreecommitdiff
path: root/weed/server/volume_server_handlers_admin.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-02-10 20:23:04 -0800
committerChris Lu <chris.lu@gmail.com>2020-02-10 20:23:04 -0800
commitac3fc922566c42fb2d1d5603e7b0c167b868fce7 (patch)
tree3451368af70559711e435ba3dbb92c3752ff919c /weed/server/volume_server_handlers_admin.go
parent29945fad51320deb7c72f57d1c7a84bcc51429da (diff)
downloadseaweedfs-ac3fc922566c42fb2d1d5603e7b0c167b868fce7.tar.xz
seaweedfs-ac3fc922566c42fb2d1d5603e7b0c167b868fce7.zip
partially doneorigin/fasthttp
Diffstat (limited to 'weed/server/volume_server_handlers_admin.go')
-rw-r--r--weed/server/volume_server_handlers_admin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/server/volume_server_handlers_admin.go b/weed/server/volume_server_handlers_admin.go
index 1938a34c4..ce675ede2 100644
--- a/weed/server/volume_server_handlers_admin.go
+++ b/weed/server/volume_server_handlers_admin.go
@@ -13,7 +13,7 @@ func (vs *VolumeServer) statusHandler(w http.ResponseWriter, r *http.Request) {
m := make(map[string]interface{})
m["Version"] = util.VERSION
m["Volumes"] = vs.store.VolumeInfos()
- writeJsonQuiet(w, r, http.StatusOK, m)
+ oldWriteJsonQuiet(w, r, http.StatusOK, m)
}
func (vs *VolumeServer) statsDiskHandler(w http.ResponseWriter, r *http.Request) {
@@ -26,5 +26,5 @@ func (vs *VolumeServer) statsDiskHandler(w http.ResponseWriter, r *http.Request)
}
}
m["DiskStatuses"] = ds
- writeJsonQuiet(w, r, http.StatusOK, m)
+ oldWriteJsonQuiet(w, r, http.StatusOK, m)
}