Skip to content

Commit 68fee2a

Browse files
authored
Fix directive in readme.md of aks sdk (#20201)
1 parent 9c9a4ea commit 68fee2a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Aks/Aks.Sdk/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,28 @@ directive:
3535
transform: $.name = "ResourceIdentityTypeForCommonTypes"
3636
- from: swagger-document
3737
where: $.definitions.ManagedClusterAgentPoolProfileProperties.properties.orchestratorVersion
38-
transform: $["description"] = $["description"].replaceAll("<", "(");
38+
transform: $["description"] = $["description"].replace(/</g, "(");
3939
- from: swagger-document
4040
where: $.definitions.ManagedClusterAgentPoolProfileProperties.properties.orchestratorVersion
41-
transform: $["description"] = $["description"].replaceAll(">", ")");
41+
transform: $["description"] = $["description"].replace(/>/g, ")");
4242
- from: swagger-document
4343
where: $.definitions.ManagedClusterAgentPoolProfileProperties.properties.currentOrchestratorVersion
44-
transform: $["description"] = $["description"].replaceAll("<", "(");
44+
transform: $["description"] = $["description"].replace(/</g, "(");
4545
- from: swagger-document
4646
where: $.definitions.ManagedClusterAgentPoolProfileProperties.properties.currentOrchestratorVersion
47-
transform: $["description"] = $["description"].replaceAll(">", ")");
47+
transform: $["description"] = $["description"].replace(/>/g, ")");
4848
- from: swagger-document
4949
where: $.definitions.ManagedClusterProperties.properties.kubernetesVersion
50-
transform: $["description"] = $["description"].replaceAll("<", "(");
50+
transform: $["description"] = $["description"].replace(/</g, "(");
5151
- from: swagger-document
5252
where: $.definitions.ManagedClusterProperties.properties.kubernetesVersion
53-
transform: $["description"] = $["description"].replaceAll(">", ")");
53+
transform: $["description"] = $["description"].replace(/>/g, ")");
5454
- from: swagger-document
5555
where: $.definitions.ManagedClusterProperties.properties.currentKubernetesVersion
56-
transform: $["description"] = $["description"].replaceAll("<", "(");
56+
transform: $["description"] = $["description"].replace(/</g, "(");
5757
- from: swagger-document
5858
where: $.definitions.ManagedClusterProperties.properties.currentKubernetesVersion
59-
transform: $["description"] = $["description"].replaceAll(">", ")");
59+
transform: $["description"] = $["description"].replace(/>/g, ")");
6060

6161
output-folder: Generated
6262
namespace: Microsoft.Azure.Management.ContainerService

0 commit comments

Comments
 (0)