Skip to content

Commit

Permalink
Merge pull request openshift#1251 from wking/drop-v1beta1-install-config
Browse files Browse the repository at this point in the history
pkg/types/validation: Drop v1beta1 backwards compat hack
  • Loading branch information
openshift-merge-robot committed Feb 26, 2019
2 parents 958724a + 2fb026a commit 76b167d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/types/validation/installconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func ValidateInstallConfig(c *types.InstallConfig, openStackValidValuesFetcher o
switch v := c.APIVersion; v {
case types.InstallConfigVersion:
// Current version
case "v1beta1", "v1beta2":
case "v1beta2":
logrus.Warnf("install-config.yaml is using a deprecated version %q. The expected version is %q.", v, types.InstallConfigVersion)
default:
return field.ErrorList{field.Invalid(field.NewPath("apiVersion"), c.TypeMeta.APIVersion, fmt.Sprintf("install-config version must be %q", types.InstallConfigVersion))}
Expand Down

0 comments on commit 76b167d

Please sign in to comment.