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 23, 2018
1 parent 7596722 commit b49c6e3
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 b49c6e3

Please sign in to comment.