diff options
Diffstat (limited to 'weed/operation/upload_content.go')
| -rw-r--r-- | weed/operation/upload_content.go | 2 |
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) } |
