Merge pull request #98736 from wongma7/aws

Warn instead of erroring if --gce-zone is not passed to e2e.test when --provider=aws
This commit is contained in:
Kubernetes Prow Robot 2021-02-09 13:22:58 -08:00 committed by GitHub
commit 324eb844d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ func init() {
func newProvider() (framework.ProviderInterface, error) {
if framework.TestContext.CloudConfig.Zone == "" {
return nil, fmt.Errorf("gce-zone must be specified for AWS")
framework.Logf("Warning: gce-zone not specified! Some tests that use the AWS SDK may select the wrong region and fail.")
}
return &Provider{}, nil
}