Skip to content

Commit 98f343c

Browse files
committed
OCPBUGS-36780: ic: fix typo in warning message
The field name is ImageDigestSources.
1 parent b2876fc commit 98f343c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/types/validation/installconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func ValidateInstallConfig(c *types.InstallConfig, usingAgentMethod bool) field.
143143
allErrs = append(allErrs, field.Invalid(field.NewPath("imageContentSources"), c.Publish, "cannot set imageContentSources and imageDigestSources at the same time"))
144144
}
145145
if len(c.DeprecatedImageContentSources) != 0 {
146-
logrus.Warningln("imageContentSources is deprecated, please use ImageDigestSource")
146+
logrus.Warningln("imageContentSources is deprecated, please use ImageDigestSources")
147147
}
148148
allErrs = append(allErrs, validateCloudCredentialsMode(c.CredentialsMode, field.NewPath("credentialsMode"), c.Platform)...)
149149
if c.Capabilities != nil {

0 commit comments

Comments
 (0)