mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
print out data size
This commit is contained in:
parent
c6bd244ebd
commit
8708e7a64d
|
@ -169,7 +169,7 @@ func doUploadData(uploadUrl string, filename string, cipher bool, data []byte, i
|
||||||
uploadResult, err = upload_content(uploadUrl, func(w io.Writer) (err error) {
|
uploadResult, err = upload_content(uploadUrl, func(w io.Writer) (err error) {
|
||||||
_, err = w.Write(data)
|
_, err = w.Write(data)
|
||||||
return
|
return
|
||||||
}, filename, contentIsGzipped, 0, mtype, pairMap, jwt)
|
}, filename, contentIsGzipped, len(data), mtype, pairMap, jwt)
|
||||||
}
|
}
|
||||||
|
|
||||||
if uploadResult == nil {
|
if uploadResult == nil {
|
||||||
|
|
Loading…
Reference in a new issue