mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-15 20:06:19 +08:00
fix wrong error printing that caused panic
This commit is contained in:
@@ -147,7 +147,7 @@ func (fs *FilerServer) PostHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if ret.Error != "" {
|
if ret.Error != "" {
|
||||||
glog.V(0).Infoln("failing to post to volume server", ra_err.Error())
|
glog.V(0).Infoln("failing to post to volume server", ret.Error)
|
||||||
writeJsonError(w, r, errors.New(ret.Error))
|
writeJsonError(w, r, errors.New(ret.Error))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user