Skip to content

Commit 0c8ddaa

Browse files
committed
Revert "Migrate to dskit/ring (cortexproject#4539)"
This reverts commit f2656f8. Signed-off-by: Arve Knudsen <[email protected]>
1 parent ed53f01 commit 0c8ddaa

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

pkg/alertmanager/distributor_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import (
2727

2828
"github.com/cortexproject/cortex/pkg/alertmanager/alertmanagerpb"
2929
"github.com/cortexproject/cortex/pkg/ring"
30-
"github.com/cortexproject/cortex/pkg/util/flagext"
3130
util_log "github.com/cortexproject/cortex/pkg/util/log"
3231
"github.com/cortexproject/cortex/pkg/util/test"
3332
)

pkg/ring/bench/ring_memberlist_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
"github.com/prometheus/client_golang/prometheus"
1515
"github.com/stretchr/testify/require"
1616

17+
"github.com/cortexproject/cortex/pkg/util/flagext"
1718
"github.com/cortexproject/cortex/pkg/ring"
1819
)
1920

pkg/ring/lifecycler.go

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import (
1818
perrors "github.com/pkg/errors"
1919
"github.com/prometheus/client_golang/prometheus"
2020
"go.uber.org/atomic"
21+
22+
"github.com/cortexproject/cortex/pkg/util/flagext"
2123
)
2224

2325
// LifecyclerConfig is the config to build a Lifecycler.

pkg/ring/ring.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313

1414
"github.com/go-kit/log"
1515
"github.com/go-kit/log/level"
16-
"github.com/grafana/dskit/flagext"
1716
"github.com/grafana/dskit/kv"
1817
"github.com/grafana/dskit/services"
1918
"github.com/pkg/errors"
@@ -22,6 +21,7 @@ import (
2221

2322
shardUtil "github.com/cortexproject/cortex/pkg/ring/shard"
2423
"github.com/cortexproject/cortex/pkg/ring/util"
24+
"github.com/cortexproject/cortex/pkg/util/flagext"
2525
utilmath "github.com/cortexproject/cortex/pkg/util/math"
2626
)
2727

pkg/ring/ring_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import (
2525

2626
"github.com/cortexproject/cortex/pkg/ring/shard"
2727
"github.com/cortexproject/cortex/pkg/ring/util"
28+
"github.com/cortexproject/cortex/pkg/util/flagext"
2829
)
2930

3031
const (

0 commit comments

Comments
 (0)