diff --git a/main.go b/main.go index d331c0e4..9c258a81 100644 --- a/main.go +++ b/main.go @@ -17,9 +17,9 @@ import ( "time" "github.com/ehazlett/simplelog" - "github.com/rancher/wrangler/v2/pkg/kubeconfig" - "github.com/rancher/wrangler/v2/pkg/signals" - "github.com/rancher/wrangler/v2/pkg/start" + "github.com/rancher/wrangler/v3/pkg/kubeconfig" + "github.com/rancher/wrangler/v3/pkg/signals" + "github.com/rancher/wrangler/v3/pkg/start" "github.com/sirupsen/logrus" "github.com/urfave/cli/v2" diff --git a/pkg/apis/harvesterhci.io/v1beta1/types.go b/pkg/apis/harvesterhci.io/v1beta1/types.go index 7805da86..ab16ea56 100644 --- a/pkg/apis/harvesterhci.io/v1beta1/types.go +++ b/pkg/apis/harvesterhci.io/v1beta1/types.go @@ -1,7 +1,7 @@ package v1beta1 import ( - "github.com/rancher/wrangler/v2/pkg/condition" + "github.com/rancher/wrangler/v3/pkg/condition" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/pkg/codegen/cleanup/main.go b/pkg/codegen/cleanup/main.go index 614265a3..7905077a 100644 --- a/pkg/codegen/cleanup/main.go +++ b/pkg/codegen/cleanup/main.go @@ -3,7 +3,7 @@ package main import ( "os" - "github.com/rancher/wrangler/v2/pkg/cleanup" + "github.com/rancher/wrangler/v3/pkg/cleanup" "github.com/sirupsen/logrus" ) diff --git a/pkg/codegen/main.go b/pkg/codegen/main.go index 2d1952ba..8d5fe5fe 100644 --- a/pkg/codegen/main.go +++ b/pkg/codegen/main.go @@ -4,8 +4,8 @@ import ( "os" longhornv1 "github.com/longhorn/longhorn-manager/k8s/pkg/apis/longhorn/v1beta2" - controllergen "github.com/rancher/wrangler/v2/pkg/controller-gen" - "github.com/rancher/wrangler/v2/pkg/controller-gen/args" + controllergen "github.com/rancher/wrangler/v3/pkg/controller-gen" + "github.com/rancher/wrangler/v3/pkg/controller-gen/args" diskv1 "github.com/harvester/node-disk-manager/pkg/apis/harvesterhci.io/v1beta1" ) diff --git a/pkg/generated/controllers/harvesterhci.io/factory.go b/pkg/generated/controllers/harvesterhci.io/factory.go index 6dd16fc3..a662dd16 100644 --- a/pkg/generated/controllers/harvesterhci.io/factory.go +++ b/pkg/generated/controllers/harvesterhci.io/factory.go @@ -20,7 +20,7 @@ package harvesterhci import ( "github.com/rancher/lasso/pkg/controller" - "github.com/rancher/wrangler/v2/pkg/generic" + "github.com/rancher/wrangler/v3/pkg/generic" "k8s.io/client-go/rest" ) diff --git a/pkg/generated/controllers/harvesterhci.io/v1beta1/blockdevice.go b/pkg/generated/controllers/harvesterhci.io/v1beta1/blockdevice.go index 76774ab3..bb2eb561 100644 --- a/pkg/generated/controllers/harvesterhci.io/v1beta1/blockdevice.go +++ b/pkg/generated/controllers/harvesterhci.io/v1beta1/blockdevice.go @@ -24,10 +24,10 @@ import ( "time" v1beta1 "github.com/harvester/node-disk-manager/pkg/apis/harvesterhci.io/v1beta1" - "github.com/rancher/wrangler/v2/pkg/apply" - "github.com/rancher/wrangler/v2/pkg/condition" - "github.com/rancher/wrangler/v2/pkg/generic" - "github.com/rancher/wrangler/v2/pkg/kv" + "github.com/rancher/wrangler/v3/pkg/apply" + "github.com/rancher/wrangler/v3/pkg/condition" + "github.com/rancher/wrangler/v3/pkg/generic" + "github.com/rancher/wrangler/v3/pkg/kv" "k8s.io/apimachinery/pkg/api/equality" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/runtime" diff --git a/pkg/generated/controllers/harvesterhci.io/v1beta1/interface.go b/pkg/generated/controllers/harvesterhci.io/v1beta1/interface.go index 3a396d14..077b7d73 100644 --- a/pkg/generated/controllers/harvesterhci.io/v1beta1/interface.go +++ b/pkg/generated/controllers/harvesterhci.io/v1beta1/interface.go @@ -21,8 +21,8 @@ package v1beta1 import ( v1beta1 "github.com/harvester/node-disk-manager/pkg/apis/harvesterhci.io/v1beta1" "github.com/rancher/lasso/pkg/controller" - "github.com/rancher/wrangler/v2/pkg/generic" - "github.com/rancher/wrangler/v2/pkg/schemes" + "github.com/rancher/wrangler/v3/pkg/generic" + "github.com/rancher/wrangler/v3/pkg/schemes" "k8s.io/apimachinery/pkg/runtime/schema" ) diff --git a/pkg/generated/controllers/longhorn.io/factory.go b/pkg/generated/controllers/longhorn.io/factory.go index ffb24f50..285cefad 100644 --- a/pkg/generated/controllers/longhorn.io/factory.go +++ b/pkg/generated/controllers/longhorn.io/factory.go @@ -20,7 +20,7 @@ package longhorn import ( "github.com/rancher/lasso/pkg/controller" - "github.com/rancher/wrangler/v2/pkg/generic" + "github.com/rancher/wrangler/v3/pkg/generic" "k8s.io/client-go/rest" ) diff --git a/pkg/generated/controllers/longhorn.io/v1beta2/interface.go b/pkg/generated/controllers/longhorn.io/v1beta2/interface.go index 1deb19fd..63d63114 100644 --- a/pkg/generated/controllers/longhorn.io/v1beta2/interface.go +++ b/pkg/generated/controllers/longhorn.io/v1beta2/interface.go @@ -21,8 +21,8 @@ package v1beta2 import ( v1beta2 "github.com/longhorn/longhorn-manager/k8s/pkg/apis/longhorn/v1beta2" "github.com/rancher/lasso/pkg/controller" - "github.com/rancher/wrangler/v2/pkg/generic" - "github.com/rancher/wrangler/v2/pkg/schemes" + "github.com/rancher/wrangler/v3/pkg/generic" + "github.com/rancher/wrangler/v3/pkg/schemes" "k8s.io/apimachinery/pkg/runtime/schema" ) diff --git a/pkg/generated/controllers/longhorn.io/v1beta2/node.go b/pkg/generated/controllers/longhorn.io/v1beta2/node.go index 734b6fa7..2ef92545 100644 --- a/pkg/generated/controllers/longhorn.io/v1beta2/node.go +++ b/pkg/generated/controllers/longhorn.io/v1beta2/node.go @@ -24,10 +24,10 @@ import ( "time" v1beta2 "github.com/longhorn/longhorn-manager/k8s/pkg/apis/longhorn/v1beta2" - "github.com/rancher/wrangler/v2/pkg/apply" - "github.com/rancher/wrangler/v2/pkg/condition" - "github.com/rancher/wrangler/v2/pkg/generic" - "github.com/rancher/wrangler/v2/pkg/kv" + "github.com/rancher/wrangler/v3/pkg/apply" + "github.com/rancher/wrangler/v3/pkg/condition" + "github.com/rancher/wrangler/v3/pkg/generic" + "github.com/rancher/wrangler/v3/pkg/kv" "k8s.io/apimachinery/pkg/api/equality" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/runtime"