зеркало из https://github.com/Azure/ARO-RP.git
Specify the resource manager endpoint for the lb backend pool client (#3127)
This commit is contained in:
Родитель
3b370aebff
Коммит
a47f06b4fd
|
@ -46,7 +46,7 @@ var _ LoadBalancerBackendAddressPoolsClient = &loadBalancerBackendAddressPoolsCl
|
|||
|
||||
// NewLoadBalancerBackendAddressPoolsClient creates a new NewLoadBalancerBackendAddressPoolsClient
|
||||
func NewLoadBalancerBackendAddressPoolsClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) LoadBalancerBackendAddressPoolsClient {
|
||||
client := mgmtnetwork.NewLoadBalancerBackendAddressPoolsClient(subscriptionID)
|
||||
client := mgmtnetwork.NewLoadBalancerBackendAddressPoolsClientWithBaseURI(environment.ResourceManagerEndpoint, subscriptionID)
|
||||
client.Authorizer = authorizer
|
||||
|
||||
return &loadBalancerBackendAddressPoolsClient{
|
||||
|
|
Загрузка…
Ссылка в новой задаче