mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-07-01 04:24:24 +08:00
fix(region): avoid auzre request timeout
This commit is contained in:
@@ -142,7 +142,7 @@ func (self *SAzureClient) getClient(resource TAzureResource) (*autorest.Client,
|
||||
return nil, errors.Wrapf(err, "azureenv.EnvironmentFromName(%s)", self.envName)
|
||||
}
|
||||
|
||||
httpClient := self.cpcfg.HttpClient()
|
||||
httpClient := self.cpcfg.AdaptiveTimeoutHttpClient()
|
||||
client.Sender = httpClient
|
||||
|
||||
self.env = env
|
||||
|
||||
Reference in New Issue
Block a user