mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
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:
commit
324eb844d1
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user