Browse Source
Update volume_server_handlers_write.go
size declared and not used
pull/756/head
zoe
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
weed/server/volume_server_handlers_write.go
|
|
@ -34,7 +34,7 @@ func (vs *VolumeServer) PostHandler(w http.ResponseWriter, r *http.Request) { |
|
|
|
} |
|
|
|
|
|
|
|
ret := operation.UploadResult{} |
|
|
|
size, errorStatus := topology.ReplicatedWrite(vs.GetMaster(), |
|
|
|
_, errorStatus := topology.ReplicatedWrite(vs.GetMaster(), |
|
|
|
vs.store, volumeId, needle, r) |
|
|
|
httpStatus := http.StatusCreated |
|
|
|
if errorStatus != "" { |
|
|
|