mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 14:23:37 +00:00
Merge pull request #119278 from r4f4/azure-fix-cloud-err-detection
test: azure: check error for cloud detection.
This commit is contained in:
commit
56b5f05aea
@ -46,9 +46,12 @@ func newProvider() (framework.ProviderInterface, error) {
|
||||
defer config.Close()
|
||||
}
|
||||
azureCloud, err := azure.NewCloud(config)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &Provider{
|
||||
azureCloud: azureCloud.(*azure.Cloud),
|
||||
}, err
|
||||
}, nil
|
||||
}
|
||||
|
||||
// Provider is a structure to handle Azure clouds for e2e testing
|
||||
|
Loading…
Reference in New Issue
Block a user