From a81e73c5495ac98c48ed96d68f9782a36285b059 Mon Sep 17 00:00:00 2001 From: jackofallops Date: Thu, 5 Dec 2024 10:35:41 +0100 Subject: [PATCH] fixup casing for Microsoft.Cdn to avoid resource ID parsing errors --- .../components/apidefinitions/parser/cleanup/to_sort.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/to_sort.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/to_sort.go index 7b4227b15b..d1559d7feb 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/to_sort.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/to_sort.go @@ -128,7 +128,7 @@ func NormalizeResourceProviderName(input string) string { "microsoft.azurestackhci": "Microsoft.AzureStackHCI", "microsoft.baremetalinfrastructure": "Microsoft.BareMetalInfrastructure", "microsoft.botservice": "Microsoft.BotService", - "microsoft.cdn": "Microsoft.CDN", + "microsoft.cdn": "Microsoft.Cdn", "microsoft.cognitiveservices": "Microsoft.CognitiveServices", "microsoft.confidentialledger": "Microsoft.ConfidentialLedger", "microsoft.connectedvmwarevsphere": "Microsoft.ConnectedVMwarevSphere",