Skip to content

Commit

Permalink
Merge pull request #5825 from terraform-providers/b/recovery-services…
Browse files Browse the repository at this point in the history
…-auth

r/recovery_services_vault: using the requested cloud rather than the default
  • Loading branch information
tombuildsstuff authored Feb 21, 2020
2 parents cdca5d6 + 29b05a9 commit 5f1126f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type Client struct {
}

func NewClient(o *common.ClientOptions) *Client {
vaultConfigsClient := backup.NewResourceVaultConfigsClient(o.SubscriptionId)
vaultConfigsClient := backup.NewResourceVaultConfigsClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
o.ConfigureClient(&vaultConfigsClient.Client, o.ResourceManagerAuthorizer)

vaultsClient := recoveryservices.NewVaultsClientWithBaseURI(o.ResourceManagerEndpoint, o.SubscriptionId)
Expand Down

0 comments on commit 5f1126f

Please sign in to comment.