mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +00:00
Merge pull request #3680 from filbranden/kubectl_version1
Fix kubectl version to match client and server version output
This commit is contained in:
@@ -33,7 +33,7 @@ func GetVersion(w io.Writer, kubeClient client.Interface) {
|
||||
}
|
||||
|
||||
GetClientVersion(w)
|
||||
fmt.Fprintf(w, "Server Version: %#v\n", serverVersion)
|
||||
fmt.Fprintf(w, "Server Version: %#v\n", *serverVersion)
|
||||
}
|
||||
|
||||
func GetClientVersion(w io.Writer) {
|
||||
|
Reference in New Issue
Block a user