aws: don't flag release as debug images

This commit is contained in:
Leonard Cohnen 2022-11-08 22:32:41 +01:00 committed by 3u13r
parent 97acdfa297
commit 3c6d59ce7e

View File

@ -579,8 +579,8 @@ func (c *Config) RemoveProviderExcept(provider cloudprovider.Provider) {
func (c *Config) IsDebugImage() bool {
switch {
case c.Provider.AWS != nil:
// TODO: Add proper image name validation for AWS when we are closer to release.
return true
// TODO: Add proper image name validation for AWS as part of rfc/image-discoverability.md
return false
case c.Provider.Azure != nil:
return !azureReleaseImageRegex.MatchString(c.Provider.Azure.Image)
case c.Provider.GCP != nil: