diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-06-20 08:16:16 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-06-20 08:16:16 -0700 |
| commit | 3080c197e3e75dfd48ce2bda08c46d1f6423e65c (patch) | |
| tree | 72fe1d5a7e32117e78afe7f9c32ca7fa17a64fa8 /weed/util/http_util.go | |
| parent | 97239ce6f109448e1f0488db31a84d40837cb168 (diff) | |
| download | seaweedfs-3080c197e3e75dfd48ce2bda08c46d1f6423e65c.tar.xz seaweedfs-3080c197e3e75dfd48ce2bda08c46d1f6423e65c.zip | |
rename UnCompressData to DecompressData
Diffstat (limited to 'weed/util/http_util.go')
| -rw-r--r-- | weed/util/http_util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/util/http_util.go b/weed/util/http_util.go index 51748e92a..c67eb3276 100644 --- a/weed/util/http_util.go +++ b/weed/util/http_util.go @@ -310,7 +310,7 @@ func readEncryptedUrl(fileUrl string, cipherKey []byte, isContentCompressed bool return fmt.Errorf("decrypt %s: %v", fileUrl, err) } if isContentCompressed { - decryptedData, err = UnCompressData(decryptedData) + decryptedData, err = DecompressData(decryptedData) if err != nil { return fmt.Errorf("unzip decrypt %s: %v", fileUrl, err) } |
