Skip to content

Commit d3b1a73

Browse files
committed
format via lint-fix
1 parent 5398ad2 commit d3b1a73

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

pkg/multicluster/raft_bootstrap_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,19 @@ import (
1616
"time"
1717

1818
"github.com/go-logr/logr/testr"
19+
"github.com/redpanda-data/common-go/kube/kubetest"
1920
"github.com/stretchr/testify/require"
2021
corev1 "k8s.io/api/core/v1"
2122
"k8s.io/apimachinery/pkg/types"
2223
"k8s.io/client-go/rest"
2324
"k8s.io/client-go/tools/clientcmd"
2425
clientcmdapi "k8s.io/client-go/tools/clientcmd/api"
26+
sigs_client "sigs.k8s.io/controller-runtime/pkg/client"
2527
ctrllog "sigs.k8s.io/controller-runtime/pkg/log"
2628

27-
"github.com/redpanda-data/common-go/kube/kubetest"
2829
"github.com/redpanda-data/redpanda-operator/pkg/multicluster"
2930
"github.com/redpanda-data/redpanda-operator/pkg/multicluster/leaderelection"
3031
"github.com/redpanda-data/redpanda-operator/pkg/testutil"
31-
32-
sigs_client "sigs.k8s.io/controller-runtime/pkg/client"
3332
)
3433

3534
// bootstrapNode is a single-replica raft node running in bootstrap mode with a

pkg/multicluster/raft_engage_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ import (
1919

2020
"github.com/go-logr/logr"
2121
"github.com/go-logr/logr/testr"
22+
"github.com/redpanda-data/common-go/kube"
23+
"github.com/redpanda-data/common-go/kube/kubetest"
2224
"github.com/stretchr/testify/require"
2325
"sigs.k8s.io/controller-runtime/pkg/cluster"
2426
ctrllog "sigs.k8s.io/controller-runtime/pkg/log"
2527

26-
"github.com/redpanda-data/common-go/kube"
27-
"github.com/redpanda-data/common-go/kube/kubetest"
2828
"github.com/redpanda-data/redpanda-operator/pkg/multicluster"
2929
"github.com/redpanda-data/redpanda-operator/pkg/testutil"
3030
)

pkg/multicluster/raft_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ import (
1818

1919
"github.com/go-logr/logr"
2020
"github.com/go-logr/logr/testr"
21+
"github.com/redpanda-data/common-go/kube/kubetest"
2122
"github.com/stretchr/testify/require"
2223
"sigs.k8s.io/controller-runtime/pkg/cluster"
2324
ctrllog "sigs.k8s.io/controller-runtime/pkg/log"
2425

25-
"github.com/redpanda-data/common-go/kube/kubetest"
2626
"github.com/redpanda-data/redpanda-operator/pkg/multicluster"
2727
"github.com/redpanda-data/redpanda-operator/pkg/testutil"
2828
)

0 commit comments

Comments
 (0)