diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-11-26 11:22:30 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-11-26 11:22:30 -0800 |
| commit | 0da7ecfd2925ca1f1f6217235b88c2c9def9d3ef (patch) | |
| tree | 6080001e9b19905a24b136ba5cae79ce9d4994cb /weed/util/compression.go | |
| parent | effa00ed0861a9f6b774e4413a44fd96b6604667 (diff) | |
| download | seaweedfs-0da7ecfd2925ca1f1f6217235b88c2c9def9d3ef.tar.xz seaweedfs-0da7ecfd2925ca1f1f6217235b88c2c9def9d3ef.zip | |
go fmt
Diffstat (limited to 'weed/util/compression.go')
| -rw-r--r-- | weed/util/compression.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/weed/util/compression.go b/weed/util/compression.go index 33506834b..9d52810cb 100644 --- a/weed/util/compression.go +++ b/weed/util/compression.go @@ -55,15 +55,14 @@ func GzipData(input []byte) ([]byte, error) { return buf.Bytes(), nil } - func DecompressData(input []byte) ([]byte, error) { if IsGzippedContent(input) { return ungzipData(input) } /* - if IsZstdContent(input) { - return unzstdData(input) - } + if IsZstdContent(input) { + return unzstdData(input) + } */ return input, UnsupportedCompression } |
