Skip to content

Commit

Permalink
Group together to match other registrations
Browse files Browse the repository at this point in the history
  • Loading branch information
torresdal committed Oct 25, 2018
1 parent e9e5b04 commit 815ce6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azurerm/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -535,12 +535,12 @@ func getArmClient(c *authentication.Config) (*ArmClient, error) {
func (c *ArmClient) registerApiManagementServiceClients(endpoint, subscriptionId string, auth autorest.Authorizer) {
ams := apimanagement.NewServiceClientWithBaseURI(endpoint, subscriptionId)
c.configureClient(&ams.Client, auth)
c.apiManagementServiceClient = ams

api := apimanagement.NewAPIClientWithBaseURI(endpoint, subscriptionId)
c.configureClient(&api.Client, auth)

c.apiManagementServiceClient = ams
c.apiManagementApiClient = api

}

func (c *ArmClient) registerAppInsightsClients(endpoint, subscriptionId string, auth autorest.Authorizer) {
Expand Down

0 comments on commit 815ce6e

Please sign in to comment.