Browse Source

Update volume_server_handlers_write.go

size declared and not used
pull/756/head
zoe 6 years ago
committed by GitHub
parent
commit
a11c28cb4c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      weed/server/volume_server_handlers_write.go

2
weed/server/volume_server_handlers_write.go

@ -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…
Cancel
Save