Skip to content

Commit 54f05bc

Browse files
Mikalai Radchukm1kola
authored andcommitted
Updates imports and paths after package move
Signed-off-by: Mikalai Radchuk <[email protected]>
1 parent ab3c4ca commit 54f05bc

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

internal/controllers/operator_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
"sigs.k8s.io/controller-runtime/pkg/client"
3535
"sigs.k8s.io/controller-runtime/pkg/log"
3636

37-
"github.com/operator-framework/operator-controller/controllers/validators"
37+
"github.com/operator-framework/operator-controller/internal/controllers/validators"
3838

3939
operatorsv1alpha1 "github.com/operator-framework/operator-controller/api/v1alpha1"
4040
"github.com/operator-framework/operator-controller/internal/resolution"

internal/controllers/operator_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import (
1919
"sigs.k8s.io/controller-runtime/pkg/client/fake"
2020

2121
operatorsv1alpha1 "github.com/operator-framework/operator-controller/api/v1alpha1"
22-
"github.com/operator-framework/operator-controller/controllers"
2322
"github.com/operator-framework/operator-controller/internal/conditionsets"
23+
"github.com/operator-framework/operator-controller/internal/controllers"
2424
"github.com/operator-framework/operator-controller/internal/resolution"
2525
)
2626

internal/controllers/suite_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ var _ = BeforeSuite(func() {
5454
By("bootstrapping test environment")
5555
testEnv = &envtest.Environment{
5656
CRDDirectoryPaths: []string{
57-
filepath.Join("..", "config", "crd", "bases"),
58-
filepath.Join("..", "testdata", "crds")},
57+
filepath.Join("..", "..", "config", "crd", "bases"),
58+
filepath.Join("..", "..", "testdata", "crds")},
5959
ErrorIfCRDPathMissing: true,
6060
}
6161

internal/controllers/validators/validators_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
. "github.com/onsi/gomega"
66

77
"github.com/operator-framework/operator-controller/api/v1alpha1"
8-
"github.com/operator-framework/operator-controller/controllers/validators"
8+
"github.com/operator-framework/operator-controller/internal/controllers/validators"
99
)
1010

1111
var _ = Describe("Validators", func() {

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import (
3232

3333
catalogd "github.com/operator-framework/catalogd/pkg/apis/core/v1beta1"
3434
operatorsv1alpha1 "github.com/operator-framework/operator-controller/api/v1alpha1"
35-
"github.com/operator-framework/operator-controller/controllers"
35+
"github.com/operator-framework/operator-controller/internal/controllers"
3636
"github.com/operator-framework/operator-controller/internal/resolution"
3737
"github.com/operator-framework/operator-controller/internal/resolution/entitysources"
3838
)

0 commit comments

Comments
 (0)