evanlucas / fish-kubectl-completions

kubectl completions for fish shell
MIT License
576 stars 42 forks source link

Update version to kubectl v1.20.2 #34

Closed mojotx closed 3 years ago

mojotx commented 3 years ago

The kubectl command has its own repository now, k8s.io/kubectl, so a minor change to main.go was necessary.

diff --git a/main.go b/main.go
index d20cf14..e020171 100644
--- a/main.go
+++ b/main.go
@@ -9,7 +9,7 @@ import (

        "github.com/spf13/cobra"
        "github.com/spf13/pflag"
-       k8scmd "k8s.io/kubernetes/pkg/kubectl/cmd"
+       k8scmd "k8s.io/kubectl/pkg/cmd"
 )

 const (
evanlucas commented 3 years ago

Thanks for this!

mojotx commented 3 years ago

it's my pleasure. Thank you for creating this!