File tree Expand file tree Collapse file tree 5 files changed +13
-9
lines changed Expand file tree Collapse file tree 5 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -4,15 +4,16 @@ import (
4
4
"fmt"
5
5
"time"
6
6
7
- "github.com/cortexproject/cortex/pkg/ingester/client"
8
- "github.com/cortexproject/cortex/pkg/ring"
9
- "github.com/cortexproject/cortex/pkg/util"
10
7
"github.com/go-kit/kit/log/level"
11
8
"github.com/pkg/errors"
12
9
"github.com/prometheus/client_golang/prometheus"
13
10
"github.com/prometheus/client_golang/prometheus/promauto"
14
11
"github.com/weaveworks/common/user"
15
12
"golang.org/x/net/context"
13
+
14
+ "github.com/cortexproject/cortex/pkg/ingester/client"
15
+ "github.com/cortexproject/cortex/pkg/ring"
16
+ "github.com/cortexproject/cortex/pkg/util"
16
17
)
17
18
18
19
var (
Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ import (
17
17
"github.com/oklog/ulid"
18
18
"github.com/stretchr/testify/require"
19
19
"github.com/thanos-io/thanos/pkg/shipper"
20
+ "github.com/weaveworks/common/user"
20
21
"google.golang.org/grpc"
22
+ "google.golang.org/grpc/health/grpc_health_v1"
21
23
22
24
"github.com/cortexproject/cortex/pkg/ingester/client"
23
25
"github.com/cortexproject/cortex/pkg/ring"
24
26
"github.com/cortexproject/cortex/pkg/ring/kv"
25
27
"github.com/cortexproject/cortex/pkg/ring/kv/codec"
26
- "github.com/weaveworks/common/user"
27
- "google.golang.org/grpc/health/grpc_health_v1"
28
28
)
29
29
30
30
type testUserTSDB struct {
Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ import (
7
7
"sync"
8
8
"time"
9
9
10
- "github.com/cortexproject/cortex/pkg/util"
11
10
"github.com/go-kit/kit/log/level"
12
11
"go.uber.org/atomic"
12
+
13
+ "github.com/cortexproject/cortex/pkg/util"
13
14
)
14
15
15
16
// transferWorkload holds a set of ingester addresses to the set of
Original file line number Diff line number Diff line change 6
6
"sync"
7
7
"time"
8
8
9
- "github.com/cortexproject/cortex/pkg/util"
10
9
"github.com/go-kit/kit/log/level"
10
+
11
+ "github.com/cortexproject/cortex/pkg/util"
11
12
)
12
13
13
14
// TokenCheckerConfig is the config to configure a TokenChecker.
Original file line number Diff line number Diff line change @@ -6,11 +6,12 @@ import (
6
6
"testing"
7
7
"time"
8
8
9
+ "github.com/stretchr/testify/require"
10
+ "go.uber.org/atomic"
11
+
9
12
"github.com/cortexproject/cortex/pkg/ring/kv/consul"
10
13
"github.com/cortexproject/cortex/pkg/util/flagext"
11
14
"github.com/cortexproject/cortex/pkg/util/test"
12
- "github.com/stretchr/testify/require"
13
- "go.uber.org/atomic"
14
15
)
15
16
16
17
func makeSequentialTokenGenerator () TokenGeneratorFunc {
You can’t perform that action at this time.
0 commit comments