Skip to content

Commit 7210dea

Browse files
fix lint issue: imports are not accurate sorted (File is not -ed)
The imports need to be fixed
1 parent c814fb1 commit 7210dea

File tree

12 files changed

+11
-16
lines changed

12 files changed

+11
-16
lines changed

cmd/manager/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ import (
5050
"sigs.k8s.io/controller-runtime/pkg/metrics/server"
5151

5252
helmclient "github.com/operator-framework/helm-operator-plugins/pkg/client"
53-
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
5453

5554
ocv1 "github.com/operator-framework/operator-controller/api/v1"
55+
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
5656
"github.com/operator-framework/operator-controller/internal/action"
5757
"github.com/operator-framework/operator-controller/internal/applier"
5858
"github.com/operator-framework/operator-controller/internal/authentication"

internal/catalogmetadata/client/client.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ import (
1212
"k8s.io/apimachinery/pkg/api/meta"
1313
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1414

15-
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
1615
"github.com/operator-framework/operator-registry/alpha/declcfg"
16+
17+
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
1718
)
1819

1920
const (

internal/catalogmetadata/client/client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import (
1414
"github.com/stretchr/testify/require"
1515
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1616

17-
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
1817
"github.com/operator-framework/operator-registry/alpha/declcfg"
1918

19+
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
2020
catalogClient "github.com/operator-framework/operator-controller/internal/catalogmetadata/client"
2121
)
2222

internal/controllers/clustercatalog_controller_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515
"sigs.k8s.io/controller-runtime/pkg/client/fake"
1616

1717
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
18-
1918
"github.com/operator-framework/operator-controller/internal/controllers"
2019
"github.com/operator-framework/operator-controller/internal/scheme"
2120
)

internal/controllers/clusterextension_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ import (
4646

4747
"github.com/operator-framework/api/pkg/operators/v1alpha1"
4848
helmclient "github.com/operator-framework/helm-operator-plugins/pkg/client"
49-
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
5049
"github.com/operator-framework/operator-registry/alpha/declcfg"
5150

5251
ocv1 "github.com/operator-framework/operator-controller/api/v1"
52+
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
5353
"github.com/operator-framework/operator-controller/internal/bundleutil"
5454
"github.com/operator-framework/operator-controller/internal/conditionsets"
5555
"github.com/operator-framework/operator-controller/internal/contentmanager"

internal/resolve/catalog.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ import (
1515
"sigs.k8s.io/controller-runtime/pkg/client"
1616
"sigs.k8s.io/controller-runtime/pkg/log"
1717

18-
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
1918
"github.com/operator-framework/operator-registry/alpha/declcfg"
2019

2120
ocv1 "github.com/operator-framework/operator-controller/api/v1"
21+
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
2222
"github.com/operator-framework/operator-controller/internal/bundleutil"
2323
"github.com/operator-framework/operator-controller/internal/catalogmetadata/compare"
2424
"github.com/operator-framework/operator-controller/internal/catalogmetadata/filter"

internal/resolve/catalog_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ import (
1616
"k8s.io/utils/ptr"
1717
"sigs.k8s.io/controller-runtime/pkg/client"
1818

19-
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
2019
"github.com/operator-framework/operator-registry/alpha/declcfg"
2120
"github.com/operator-framework/operator-registry/alpha/property"
2221

2322
ocv1 "github.com/operator-framework/operator-controller/api/v1"
23+
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
2424
"github.com/operator-framework/operator-controller/internal/features"
2525
)
2626

internal/scheme/scheme.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ import (
77
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
88
clientgoscheme "k8s.io/client-go/kubernetes/scheme"
99

10-
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
11-
1210
ocv1 "github.com/operator-framework/operator-controller/api/v1"
11+
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
1312
)
1413

1514
var Scheme = runtime.NewScheme()

test/e2e/cluster_extension_install_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ import (
2828
"k8s.io/utils/env"
2929
"sigs.k8s.io/controller-runtime/pkg/client"
3030

31-
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
32-
3331
ocv1 "github.com/operator-framework/operator-controller/api/v1"
32+
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
3433
)
3534

3635
const (

test/e2e/e2e_suite_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
"sigs.k8s.io/controller-runtime/pkg/client"
1515

1616
catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"
17-
1817
"github.com/operator-framework/operator-controller/internal/scheme"
1918
)
2019

0 commit comments

Comments
 (0)