Skip to content

Commit 51326aa

Browse files
authored
Merge pull request Azure#10289 from wyunchi-ms/DeprecationResolveError
Add the deprecat message of Resolve-Error alias
2 parents 6919797 + dd36667 commit 51326aa

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
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+
* Add a deprecation message for `Resolve-Error` alias.
2122

2223
## Version 1.6.3
2324
* Update telemetry and url rewriting for generated modules, fix windows unit tests.

src/Accounts/Accounts/Errors/ResolveError.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
using Microsoft.Azure.Commands.Common.Authentication.Abstractions;
2020
using System.Collections;
2121
using Microsoft.Azure.Commands.ResourceManager.Common;
22+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
2223

2324
namespace Microsoft.Azure.Commands.Profile.Errors
2425
{
26+
[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.")]
2527
[Alias("Resolve-Error")]
2628
[Cmdlet("Resolve", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Error", DefaultParameterSetName = ResolveError.AnyErrorParameterSet)]
2729
[OutputType(typeof(AzureErrorRecord))]

0 commit comments

Comments
 (0)