Skip to content

Commit 73817fd

Browse files
committed
goimports -local github.com/cortexproject/cortex
Signed-off-by: Robert Fratto <[email protected]>
1 parent b2c5679 commit 73817fd

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

pkg/ingester/incremental_transfer.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@ import (
44
"fmt"
55
"time"
66

7-
"github.com/cortexproject/cortex/pkg/ingester/client"
8-
"github.com/cortexproject/cortex/pkg/ring"
9-
"github.com/cortexproject/cortex/pkg/util"
107
"github.com/go-kit/kit/log/level"
118
"github.com/pkg/errors"
129
"github.com/prometheus/client_golang/prometheus"
1310
"github.com/prometheus/client_golang/prometheus/promauto"
1411
"github.com/weaveworks/common/user"
1512
"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"
1617
)
1718

1819
var (

pkg/ingester/transfer_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ import (
1717
"github.com/oklog/ulid"
1818
"github.com/stretchr/testify/require"
1919
"github.com/thanos-io/thanos/pkg/shipper"
20+
"github.com/weaveworks/common/user"
2021
"google.golang.org/grpc"
22+
"google.golang.org/grpc/health/grpc_health_v1"
2123

2224
"github.com/cortexproject/cortex/pkg/ingester/client"
2325
"github.com/cortexproject/cortex/pkg/ring"
2426
"github.com/cortexproject/cortex/pkg/ring/kv"
2527
"github.com/cortexproject/cortex/pkg/ring/kv/codec"
26-
"github.com/weaveworks/common/user"
27-
"google.golang.org/grpc/health/grpc_health_v1"
2828
)
2929

3030
type testUserTSDB struct {

pkg/ring/incremental_transfer.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ import (
77
"sync"
88
"time"
99

10-
"github.com/cortexproject/cortex/pkg/util"
1110
"github.com/go-kit/kit/log/level"
1211
"go.uber.org/atomic"
12+
13+
"github.com/cortexproject/cortex/pkg/util"
1314
)
1415

1516
// transferWorkload holds a set of ingester addresses to the set of

pkg/ring/token_checker.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ import (
66
"sync"
77
"time"
88

9-
"github.com/cortexproject/cortex/pkg/util"
109
"github.com/go-kit/kit/log/level"
10+
11+
"github.com/cortexproject/cortex/pkg/util"
1112
)
1213

1314
// TokenCheckerConfig is the config to configure a TokenChecker.

pkg/ring/token_checker_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ import (
66
"testing"
77
"time"
88

9+
"github.com/stretchr/testify/require"
10+
"go.uber.org/atomic"
11+
912
"github.com/cortexproject/cortex/pkg/ring/kv/consul"
1013
"github.com/cortexproject/cortex/pkg/util/flagext"
1114
"github.com/cortexproject/cortex/pkg/util/test"
12-
"github.com/stretchr/testify/require"
13-
"go.uber.org/atomic"
1415
)
1516

1617
func makeSequentialTokenGenerator() TokenGeneratorFunc {

0 commit comments

Comments
 (0)