Skip to content

Commit

Permalink
Issue #3253, improve kubernetes-version error string
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Hamilton committed Jan 28, 2019
1 parent dbd4711 commit c9d79f1
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 @@ -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
Expand Down

0 comments on commit c9d79f1

Please sign in to comment.