Update volume_server_handlers_write.go
size declared and not used
This commit is contained in:
@@ -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 != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user