aboutsummaryrefslogtreecommitdiff
path: root/weed/operation/upload_content.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-06-20 08:16:16 -0700
committerChris Lu <chris.lu@gmail.com>2020-06-20 08:16:16 -0700
commit3080c197e3e75dfd48ce2bda08c46d1f6423e65c (patch)
tree72fe1d5a7e32117e78afe7f9c32ca7fa17a64fa8 /weed/operation/upload_content.go
parent97239ce6f109448e1f0488db31a84d40837cb168 (diff)
downloadseaweedfs-3080c197e3e75dfd48ce2bda08c46d1f6423e65c.tar.xz
seaweedfs-3080c197e3e75dfd48ce2bda08c46d1f6423e65c.zip
rename UnCompressData to DecompressData
Diffstat (limited to 'weed/operation/upload_content.go')
-rw-r--r--weed/operation/upload_content.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/operation/upload_content.go b/weed/operation/upload_content.go
index 8c8b02a8f..1ed240836 100644
--- a/weed/operation/upload_content.go
+++ b/weed/operation/upload_content.go
@@ -121,7 +121,7 @@ func doUploadData(uploadUrl string, filename string, cipher bool, data []byte, i
}
} else if isInputGzipped {
// just to get the clear data length
- clearData, err := util.UnCompressData(data)
+ clearData, err := util.DecompressData(data)
if err == nil {
clearDataLen = len(clearData)
}