in case when content is not compressed

This commit is contained in:
Chris Lu
2020-08-01 13:08:10 -07:00
parent e1f070a9a1
commit 2f03481cb2
2 changed files with 2 additions and 2 deletions

View File

@@ -312,7 +312,7 @@ func readEncryptedUrl(fileUrl string, cipherKey []byte, isContentCompressed bool
if isContentCompressed {
decryptedData, err = DecompressData(decryptedData)
if err != nil {
return fmt.Errorf("unzip decrypt %s: %v", fileUrl, err)
glog.V(0).Info("unzip decrypt %s: %v", fileUrl, err)
}
}
if len(decryptedData) < int(offset)+size {