mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix s3cmd put
1. fix volume put data size
This commit is contained in:
parent
3339325334
commit
d5ebfd5b0c
|
@ -66,6 +66,7 @@ func ParseUpload(r *http.Request) (
|
|||
mimeType = r.Header.Get("Content-Type")
|
||||
fileName = ""
|
||||
data, e = ioutil.ReadAll(r.Body)
|
||||
originalDataSize = len(data)
|
||||
}
|
||||
if e != nil {
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue