start.go make err type usable for exit.withCodeT

pull/4759/head
serhatcetinkaya 2019-09-01 21:01:32 +03:00
parent 14b1d84474
commit 23cc018bbf
1 changed files with 1 additions and 1 deletions

View File

@ -850,7 +850,7 @@ func validateKubernetesVersions(old *cfg.Config) (string, bool) {
oldestVersion, err := semver.Make(strings.TrimPrefix(constants.OldestKubernetesVersion, version.VersionPrefix))
if err != nil {
exit.WithCodeT(exit.Data, "Unable to parse oldest Kubernetes version from constants: %v", err)
exit.WithCodeT(exit.Data, "Unable to parse oldest Kubernetes version from constants: {{.error}}", out.V{"error": err})
}
if nvs.LT(oldestVersion) {