From c9d79f16f720a83d285aab8919b944d0d97152e8 Mon Sep 17 00:00:00 2001 From: Jeremy Hamilton Date: Mon, 28 Jan 2019 15:59:01 -0500 Subject: [PATCH] Issue #3253, improve kubernetes-version error string --- pkg/minikube/bootstrapper/kubeadm/versions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/minikube/bootstrapper/kubeadm/versions.go b/pkg/minikube/bootstrapper/kubeadm/versions.go index fc2201cab2b6..12c7351e6133 100644 --- a/pkg/minikube/bootstrapper/kubeadm/versions.go +++ b/pkg/minikube/bootstrapper/kubeadm/versions.go @@ -156,7 +156,7 @@ func ParseKubernetesVersion(version string) (semver.Version, error) { // Strip leading 'v' prefix from version for semver parsing v, err := semver.Make(version[1:]) if err != nil { - return semver.Version{}, errors.Wrap(err, "parsing kubernetes version") + return semver.Version{}, errors.Wrap(err, "invalid version, must begin with 'v'") } return v, nil