Skip to content

Commit

Permalink
aws: don't flag release as debug images
Browse files Browse the repository at this point in the history
  • Loading branch information
3u13r authored and Fabian Kammel committed Nov 14, 2022
1 parent 93c464d commit 79dd0b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/config/config.go
Expand Up @@ -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:
Expand Down

0 comments on commit 79dd0b5

Please sign in to comment.