mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-04 16:07:03 +00:00
Automatic merge from submit-queue make kubeadm version use kubeadmutil What this PR does / why we need it: this PR makes sure `kubeadmutil.CheckErr()` other than `cmdutil.CheckErr()` is called in `kubeadm version` subcommand. in `version.go`, `RunVersion()` function only returns `nil`, `kubeadmutil.CheckErr()` is enough for this Signed-off-by: redhatlinux10 <ouyang.qinhua@zte.com.cn>