Skip to content

Commit 34d5f9c

Browse files
authored
Remove alias of Resolve-AzError (#11575)
* Remove alias and breaking change warning * add exception for breaking change issues * update changelog
1 parent 003b416 commit 34d5f9c

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

src/Accounts/Accounts/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Removed alias of `Resolve-AzError`
2122
* Updated Azure PowerShell survey URL in `Resolve-AzError` [#11507]
2223

2324
## Version 1.7.4

src/Accounts/Accounts/Errors/ResolveError.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525

2626
namespace Microsoft.Azure.Commands.Profile.Errors
2727
{
28-
[GenericBreakingChange("The `Resolve-Error` alias will be removed in a future release. Please change any scripts that use this alias to use `Resolve-AzError` instead.")]
29-
[Alias("Resolve-Error")]
3028
[Cmdlet("Resolve", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Error", DefaultParameterSetName = ResolveError.AnyErrorParameterSet)]
3129
[OutputType(typeof(AzureErrorRecord))]
3230
[OutputType(typeof(AzureExceptionRecord))]

src/Accounts/Accounts/help/Resolve-AzError.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Accept wildcard characters: False
214214
```
215215
216216
### CommonParameters
217-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
217+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
218218
219219
## INPUTS
220220
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation"
2+
"Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll","Microsoft.Azure.Commands.Profile.Errors.ResolveError","Resolve-AzError","0","1010","The cmdlet 'Resolve-AzError' no longer supports the alias 'Resolve-Error'.","Add the alias 'Resolve-Error back to the cmdlet 'Resolve-AzError'."

0 commit comments

Comments
 (0)