Skip to content

Fix the url issue of Remove-AzApplicationGateway #20171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"confirmation": false,
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.network/get-azapplicationgateway"
"url": "https://learn.microsoft.com/powershell/module/az.network/remove-azapplicationgateway"
},
"parameterSets": [
{
Expand Down
8 changes: 5 additions & 3 deletions tools/StaticAnalysis/UXMetadataAnalyzer/UXMetadataAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,12 @@ private void ValidateMetadata(string moduleName, string resourceType, string sub
string description = string.Format("Cmdlet {0} is not contained in {1}.", command.Name, moduleName);
issueLogger.LogUXMetadataIssue(moduleName, resourceType, subResourceType, command.Name, 1, description);
}

foreach (UXMetadataCommandExample example in command.Examples)
else
{
ValidateExample(moduleName, resourceType, subResourceType, command.Name, cmdletMetadata, example, issueLogger);
foreach (UXMetadataCommandExample example in command.Examples)
{
ValidateExample(moduleName, resourceType, subResourceType, command.Name, cmdletMetadata, example, issueLogger);
}
}
}
}
Expand Down