diff --git a/azurerm/resource_arm_devspace_controller.go b/azurerm/resource_arm_devspace_controller.go index 03da69161158..7b88b9231b4e 100644 --- a/azurerm/resource_arm_devspace_controller.go +++ b/azurerm/resource_arm_devspace_controller.go @@ -263,7 +263,7 @@ func flattenDevSpaceControllerSku(skuObj *devspaces.Sku) []interface{} { return []interface{}{} } - skuConfig := make(map[string]interface{}, 0) + skuConfig := make(map[string]interface{}) skuConfig["name"] = *skuObj.Name skuConfig["tier"] = skuObj.Tier diff --git a/azurerm/resource_arm_key_vault_certificate.go b/azurerm/resource_arm_key_vault_certificate.go index b3623049face..6aa7a7b70970 100644 --- a/azurerm/resource_arm_key_vault_certificate.go +++ b/azurerm/resource_arm_key_vault_certificate.go @@ -613,7 +613,7 @@ func flattenKeyVaultCertificatePolicy(input *keyvault.CertificatePolicy) []inter sanOutputs := make([]interface{}, 0) if san := props.SubjectAlternativeNames; san != nil { - sanOutput := make(map[string]interface{}, 0) + sanOutput := make(map[string]interface{}) sanOutput["emails"] = utils.FlattenStringArray(san.Emails) sanOutput["dns_names"] = utils.FlattenStringArray(san.DNSNames)