mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
aws: don't flag release as debug images
This commit is contained in:
parent
97acdfa297
commit
3c6d59ce7e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user