Skip to content

Commit

Permalink
Merge pull request #3596 from flyingcircle/master
Browse files Browse the repository at this point in the history
Issue #3253, improve kubernetes-version error string
  • Loading branch information
tstromberg authored Mar 26, 2019
2 parents 89ab0be + f0d21d7 commit aec8c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/minikube/bootstrapper/kubeadm/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,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
Expand Down

0 comments on commit aec8c78

Please sign in to comment.