Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte committed Oct 14, 2018
1 parent a1eba75 commit e592b32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azurerm/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ func Provider() terraform.ResourceProvider {
"azurerm_search_service": resourceArmSearchService(),
"azurerm_security_center_subscription_pricing": resourceArmSecurityCenterSubscriptionPricing(),
"azurerm_security_center_contact": resourceArmSecurityCenterContact(),
"azurerm_security_center_workspace": resourceArmSecurityCenterWorkspace(),
"azurerm_servicebus_namespace": resourceArmServiceBusNamespace(),
"azurerm_servicebus_namespace_authorization_rule": resourceArmServiceBusNamespaceAuthorizationRule(),
"azurerm_servicebus_queue": resourceArmServiceBusQueue(),
Expand Down Expand Up @@ -290,7 +291,6 @@ func Provider() terraform.ResourceProvider {
"azurerm_virtual_network_gateway": resourceArmVirtualNetworkGateway(),
"azurerm_virtual_network_gateway_connection": resourceArmVirtualNetworkGatewayConnection(),
"azurerm_virtual_network_peering": resourceArmVirtualNetworkPeering(),
"azurerm_security_center_workspace": resourceArmSecurityCenterWorkspace(),
},
}

Expand Down
2 changes: 1 addition & 1 deletion azurerm/resource_arm_security_center_workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func resourceArmSecurityCenterWorkspaceCreateUpdate(d *schema.ResourceData, meta

//get pricing tier, workspace can only be configured when tier is not Free.
//API does not error, it just doesn't set the workspace scope
price, err := priceClient.GetSubscriptionPricing(ctx, securityCenterConfigurationSubscriptionPricingName)
price, err := priceClient.GetSubscriptionPricing(ctx, securityCenterSubscriptionPricingName)
if err != nil {
return fmt.Errorf("Error reading Security Center Subscription pricing: %+v", err)
}
Expand Down

0 comments on commit e592b32

Please sign in to comment.