rename UnCompressData to DecompressData

This commit is contained in:
Chris Lu
2020-06-20 08:16:16 -07:00
parent 97239ce6f1
commit 3080c197e3
7 changed files with 8 additions and 8 deletions

View File

@@ -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)
}