mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Differentiate between server error messages and client error messages in kubectl
This commit is contained in:
@@ -36,7 +36,7 @@ func (f *Factory) NewCmdVersion(out io.Writer) *cobra.Command {
|
||||
}
|
||||
|
||||
client, err := f.Client(cmd)
|
||||
checkErr(err)
|
||||
util.CheckErr(err)
|
||||
|
||||
kubectl.GetVersion(out, client)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user