Skip to content

Commit 794d299

Browse files
authored
Update go module to match major version v4 (#309)
Signed-off-by: Daniel Fan <[email protected]>
1 parent 1c58ac4 commit 794d299

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

PROJECT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ resources:
77
domain: ibm.com
88
group: operator
99
kind: NamespaceScope
10-
path: github.com/IBM/ibm-namespace-scope-operator/api/v1
10+
path: github.com/IBM/ibm-namespace-scope-operator/v4/api/v1
1111
version: v1
1212
version: "3"
1313
plugins:

controllers/namespacescope_controller.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ import (
5252
"sigs.k8s.io/controller-runtime/pkg/reconcile"
5353
"sigs.k8s.io/controller-runtime/pkg/source"
5454

55-
operatorv1 "github.com/IBM/ibm-namespace-scope-operator/api/v1"
56-
util "github.com/IBM/ibm-namespace-scope-operator/controllers/common"
57-
"github.com/IBM/ibm-namespace-scope-operator/controllers/constant"
55+
operatorv1 "github.com/IBM/ibm-namespace-scope-operator/v4/api/v1"
56+
util "github.com/IBM/ibm-namespace-scope-operator/v4/controllers/common"
57+
"github.com/IBM/ibm-namespace-scope-operator/v4/controllers/constant"
5858
)
5959

6060
//var ctx context.Context

controllers/suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929
logf "sigs.k8s.io/controller-runtime/pkg/log"
3030
"sigs.k8s.io/controller-runtime/pkg/log/zap"
3131

32-
operatorv1 "github.com/IBM/ibm-namespace-scope-operator/api/v1"
32+
operatorv1 "github.com/IBM/ibm-namespace-scope-operator/v4/api/v1"
3333
// +kubebuilder:scaffold:imports
3434
)
3535

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/IBM/ibm-namespace-scope-operator
1+
module github.com/IBM/ibm-namespace-scope-operator/v4
22

33
go 1.21
44

main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ import (
3333

3434
cache "github.com/IBM/controller-filtered-cache/filteredcache"
3535

36-
operatorv1 "github.com/IBM/ibm-namespace-scope-operator/api/v1"
37-
"github.com/IBM/ibm-namespace-scope-operator/controllers"
38-
util "github.com/IBM/ibm-namespace-scope-operator/controllers/common"
36+
operatorv1 "github.com/IBM/ibm-namespace-scope-operator/v4/api/v1"
37+
"github.com/IBM/ibm-namespace-scope-operator/v4/controllers"
38+
util "github.com/IBM/ibm-namespace-scope-operator/v4/controllers/common"
3939
// +kubebuilder:scaffold:imports
4040
)
4141

0 commit comments

Comments
 (0)