mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 22:47:24 +08:00
rename UnCompressData to DecompressData
This commit is contained in:
@@ -60,7 +60,7 @@ func ParseUpload(r *http.Request, sizeLimit int64) (pu *ParsedUpload, e error) {
|
||||
}
|
||||
}
|
||||
if pu.IsGzipped {
|
||||
if unzipped, e := util.UnCompressData(pu.Data); e == nil {
|
||||
if unzipped, e := util.DecompressData(pu.Data); e == nil {
|
||||
pu.OriginalDataSize = len(unzipped)
|
||||
pu.UncompressedData = unzipped
|
||||
// println("ungzipped data size", len(unzipped))
|
||||
|
Reference in New Issue
Block a user