Skip to content

Commit 817b8b1

Browse files
authored
Fix the url issue of Remove-AzApplicationGateway (#20171)
* Fix the url issue of Remove-AzApplicationGateway * Fix the url issue of Remove-AzApplicationGateway
1 parent 990545f commit 817b8b1

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/Network/Network/UX/Microsoft.Network/applicationGateways.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"confirmation": false,
4747
"help": {
4848
"learnMore": {
49-
"url": "https://learn.microsoft.com/powershell/module/az.network/get-azapplicationgateway"
49+
"url": "https://learn.microsoft.com/powershell/module/az.network/remove-azapplicationgateway"
5050
},
5151
"parameterSets": [
5252
{

tools/StaticAnalysis/UXMetadataAnalyzer/UXMetadataAnalyzer.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,12 @@ private void ValidateMetadata(string moduleName, string resourceType, string sub
161161
string description = string.Format("Cmdlet {0} is not contained in {1}.", command.Name, moduleName);
162162
issueLogger.LogUXMetadataIssue(moduleName, resourceType, subResourceType, command.Name, 1, description);
163163
}
164-
165-
foreach (UXMetadataCommandExample example in command.Examples)
164+
else
166165
{
167-
ValidateExample(moduleName, resourceType, subResourceType, command.Name, cmdletMetadata, example, issueLogger);
166+
foreach (UXMetadataCommandExample example in command.Examples)
167+
{
168+
ValidateExample(moduleName, resourceType, subResourceType, command.Name, cmdletMetadata, example, issueLogger);
169+
}
168170
}
169171
}
170172
}

0 commit comments

Comments
 (0)