From dd137e4d0b975153538d3428eff826fb26f26d50 Mon Sep 17 00:00:00 2001 From: Chirayu Kapoor Date: Fri, 19 Jan 2024 15:31:34 +0530 Subject: [PATCH] Update wrangler to wrangler/v2 Signed-off-by: Chirayu Kapoor --- pkg/kwrapper/k8s/config.go | 2 +- restwatch/rest.go | 2 +- types/mapper/selflink.go | 2 +- types/schemas.go | 2 +- urlbuilder/url.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/kwrapper/k8s/config.go b/pkg/kwrapper/k8s/config.go index 21b1e519..1762e948 100644 --- a/pkg/kwrapper/k8s/config.go +++ b/pkg/kwrapper/k8s/config.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/rancher/wrangler/pkg/kubeconfig" + "github.com/rancher/wrangler/v2/pkg/kubeconfig" "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" ) diff --git a/restwatch/rest.go b/restwatch/rest.go index 4442d517..7be66d03 100644 --- a/restwatch/rest.go +++ b/restwatch/rest.go @@ -3,7 +3,7 @@ package restwatch import ( "time" - "github.com/rancher/wrangler/pkg/ratelimit" + "github.com/rancher/wrangler/v2/pkg/ratelimit" "k8s.io/client-go/rest" ) diff --git a/types/mapper/selflink.go b/types/mapper/selflink.go index e42af03f..95c13b20 100644 --- a/types/mapper/selflink.go +++ b/types/mapper/selflink.go @@ -4,7 +4,7 @@ import ( "strings" "github.com/rancher/norman/types" - "github.com/rancher/wrangler/pkg/name" + "github.com/rancher/wrangler/v2/pkg/name" ) type SelfLink struct { diff --git a/types/schemas.go b/types/schemas.go index 92f1e610..723f4a20 100644 --- a/types/schemas.go +++ b/types/schemas.go @@ -9,7 +9,7 @@ import ( "github.com/rancher/norman/types/convert" "github.com/rancher/norman/types/definition" - "github.com/rancher/wrangler/pkg/name" + "github.com/rancher/wrangler/v2/pkg/name" ) type SchemaCollection struct { diff --git a/urlbuilder/url.go b/urlbuilder/url.go index 4678937f..807d0972 100644 --- a/urlbuilder/url.go +++ b/urlbuilder/url.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/rancher/norman/types" - "github.com/rancher/wrangler/pkg/name" + "github.com/rancher/wrangler/v2/pkg/name" ) const (