You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 30, 2023. It is now read-only.
k krew version
panic: runtime error: index out of range [1] with length 1
goroutine 18 [running]:
github.com/dty1er/kubecolor/printer.(*VersionPrinter).Print(0xc000014088, 0x5400c0, 0xc0000ac028, 0x5400e0, 0xc0000ac008)
/home/runner/work/kubecolor/kubecolor/printer/kubectl_version.go:41 +0xd7a
github.com/dty1er/kubecolor/printer.(*KubectlOutputColoredPrinter).Print(0xc000094350, 0x5400c0, 0xc0000ac028, 0x5400e0, 0xc0000ac008)
/home/runner/work/kubecolor/kubecolor/printer/kubectl_output_colored_printer.go:109 +0x15e
github.com/dty1er/kubecolor/command.Run.func1(0xc0000ba0c0, 0x5405e0, 0xc0000ac028, 0xc0000a8050)
/home/runner/work/kubecolor/kubecolor/command/runner.go:89 +0x9b
created by github.com/dty1er/kubecolor/command.Run
/home/runner/work/kubecolor/kubecolor/command/runner.go:88 +0x43d
It should be:
k krew version
OPTION VALUE
GitTag v0.4.0
GitCommit 8bebb56
IndexURI https://github.com/kubernetes-sigs/krew-index.git
kubectl version
k version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.0", GitCommit:"cb303e613a121a29364f75cc67d3d580833a7479", GitTreeState:"clean", BuildDate:"2021-04-08T16:31:21Z", GoVersion:"go1.16.1", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.16-gke.2100", GitCommit:"36d0b0a39224fef7a40df3d2bc61dfd96c8c7f6a", GitTreeState:"clean", BuildDate:"2021-03-16T09:15:29Z", GoVersion:"go1.13.15b4", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.21) and server (1.18) exceeds the supported minor version skew of +/-1
Please check
The text was updated successfully, but these errors were encountered:
Hi!
Thank you for such a good tool!
I found an panic error when use Krew:
It should be:
kubectl version
Please check
The text was updated successfully, but these errors were encountered: