Skip to content

Commit 7cc421d

Browse files
committed
Fix ExtensionRole
1 parent f2ba2a8 commit 7cc421d

File tree

1 file changed

+1
-0
lines changed
  • src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common

1 file changed

+1
-0
lines changed

src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/ExtensionRole.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public string GetExtensionId(string extensionName, string slot, int index)
6565
{
6666
var normalizedExtName = extensionName.Replace(".", string.Empty);
6767
normalizedExtName = normalizedExtName.Replace(" ", string.Empty);
68+
normalizedExtName = normalizedExtName.Replace("_", string.Empty);
6869

6970
var suffix = new StringBuilder();
7071
suffix.AppendFormat(ExtensionIdSuffixTemplate, normalizedExtName, slot, index);

0 commit comments

Comments
 (0)