mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-09 00:04:45 +08:00
in case when content is not compressed
This commit is contained in:
@@ -39,7 +39,7 @@ func DecompressData(input []byte) ([]byte, error) {
|
||||
if IsZstdContent(input) {
|
||||
return unzstdData(input)
|
||||
}
|
||||
return nil, fmt.Errorf("unsupported compression")
|
||||
return input, fmt.Errorf("unsupported compression")
|
||||
}
|
||||
|
||||
func ungzipData(input []byte) ([]byte, error) {
|
||||
|
||||
Reference in New Issue
Block a user