mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
lib/encoding/zstd: go fmt
This commit is contained in:
parent
97b5dc7122
commit
f2e8d54fb0
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ type compressFn func(dst, src []byte, compressionLevel int) ([]byte, error)
|
||||||
|
|
||||||
func pureCompress(dst, src []byte, _ int) ([]byte, error) {
|
func pureCompress(dst, src []byte, _ int) ([]byte, error) {
|
||||||
w, err := pure.NewWriter(nil,
|
w, err := pure.NewWriter(nil,
|
||||||
pure.WithEncoderCRC(false), // Disable CRC for performance reasons.
|
pure.WithEncoderCRC(false), // Disable CRC for performance reasons.
|
||||||
pure.WithEncoderLevel(pure.SpeedBestCompression))
|
pure.WithEncoderLevel(pure.SpeedBestCompression))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Reference in a new issue