mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
cleaner fix
This commit is contained in:
parent
17efa361f9
commit
18cda6adbb
|
@ -120,11 +120,13 @@ func doUploadData(uploadUrl string, filename string, cipher bool, data []byte, i
|
||||||
}, filename, contentIsGzipped, mtype, pairMap, jwt)
|
}, filename, contentIsGzipped, mtype, pairMap, jwt)
|
||||||
}
|
}
|
||||||
|
|
||||||
if uploadResult != nil {
|
if uploadResult == nil {
|
||||||
uploadResult.Size = uint32(clearDataLen)
|
return
|
||||||
if contentIsGzipped {
|
}
|
||||||
uploadResult.Gzip = 1
|
|
||||||
}
|
uploadResult.Size = uint32(clearDataLen)
|
||||||
|
if contentIsGzipped {
|
||||||
|
uploadResult.Gzip = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
return uploadResult, err
|
return uploadResult, err
|
||||||
|
|
Loading…
Reference in a new issue