Skip to content

Commit b6b69d0

Browse files
committed
use google.golang.org/protobuf
Signed-off-by: Ben Ye <[email protected]>
1 parent d48b253 commit b6b69d0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pkg/util/metrics_helper.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ import (
88
"strings"
99
"sync"
1010

11-
"github.com/gogo/protobuf/proto"
12-
1311
"github.com/go-kit/log/level"
1412
"github.com/prometheus/client_golang/prometheus"
1513
dto "github.com/prometheus/client_model/go"
1614
"github.com/prometheus/prometheus/model/labels"
1715
tsdb_errors "github.com/prometheus/prometheus/tsdb/errors"
16+
"google.golang.org/protobuf/proto"
1817

1918
util_log "github.com/cortexproject/cortex/pkg/util/log"
2019
)

pkg/util/metrics_helper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import (
99
"testing"
1010
"time"
1111

12-
"github.com/gogo/protobuf/proto"
1312
"github.com/prometheus/client_golang/prometheus"
1413
"github.com/prometheus/client_golang/prometheus/promauto"
1514
"github.com/prometheus/client_golang/prometheus/testutil"
1615
dto "github.com/prometheus/client_model/go"
1716
"github.com/prometheus/prometheus/model/labels"
1817
"github.com/stretchr/testify/require"
18+
"google.golang.org/protobuf/proto"
1919
)
2020

2121
func TestSum(t *testing.T) {

0 commit comments

Comments
 (0)