Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 026b44a

Browse files
committed
Use klauspost/compress instead of google/snappy
1 parent 00b305c commit 026b44a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ go 1.18
55
require (
66
buf.build/gen/go/prometheus/prometheus/protocolbuffers/go v1.31.0-20230627135113-9a12bc2590d2.1
77
github.com/golang/snappy v0.0.4
8+
github.com/klauspost/compress v1.16.7
89
github.com/mstoykov/atlas v0.0.0-20220811071828-388f114305dd
910
github.com/prometheus/client_golang v1.16.0
1011
github.com/prometheus/client_model v0.4.0

go.sum

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWm
2525
github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
2626
github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
2727
github.com/klauspost/compress v1.16.7 h1:2mk3MPGNzKyxErAw8YaohYh69+pa4sIQSC0fPGCFR9I=
28+
github.com/klauspost/compress v1.16.7/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE=
2829
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
2930
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
3031
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=

pkg/remote/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"time"
1313

1414
prompb "buf.build/gen/go/prometheus/prometheus/protocolbuffers/go"
15-
"github.com/golang/snappy"
15+
"github.com/klauspost/compress/snappy"
1616
"google.golang.org/protobuf/proto"
1717
)
1818

0 commit comments

Comments
 (0)