Neo
2 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
0 deletions
-
weed/server/volume_server_handlers_write.go
|
@ -48,6 +48,7 @@ func (vs *VolumeServer) PostHandler(w http.ResponseWriter, r *http.Request) { |
|
|
isUnchanged, writeError := topology.ReplicatedWrite(vs.GetMaster, vs.grpcDialOption, vs.store, volumeId, reqNeedle, r, contentMd5) |
|
|
isUnchanged, writeError := topology.ReplicatedWrite(vs.GetMaster, vs.grpcDialOption, vs.store, volumeId, reqNeedle, r, contentMd5) |
|
|
if writeError != nil { |
|
|
if writeError != nil { |
|
|
writeJsonError(w, r, http.StatusInternalServerError, writeError) |
|
|
writeJsonError(w, r, http.StatusInternalServerError, writeError) |
|
|
|
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// http 204 status code does not allow body
|
|
|
// http 204 status code does not allow body
|
|
|