mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Update volume_server_handlers_write.go
size declared and not used
This commit is contained in:
parent
29eff0ecd7
commit
a11c28cb4c
|
@ -34,7 +34,7 @@ func (vs *VolumeServer) PostHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ret := operation.UploadResult{}
|
ret := operation.UploadResult{}
|
||||||
size, errorStatus := topology.ReplicatedWrite(vs.GetMaster(),
|
_, errorStatus := topology.ReplicatedWrite(vs.GetMaster(),
|
||||||
vs.store, volumeId, needle, r)
|
vs.store, volumeId, needle, r)
|
||||||
httpStatus := http.StatusCreated
|
httpStatus := http.StatusCreated
|
||||||
if errorStatus != "" {
|
if errorStatus != "" {
|
||||||
|
|
Loading…
Reference in a new issue