We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2f184b commit 19b267fCopy full SHA for 19b267f
src/CLU/Commands.ResourceManager.Common/AzureRmCmdlet.cs
@@ -142,7 +142,7 @@ protected override void PromptForDataCollectionProfileIfNotExists()
142
143
protected override void InitializeQosEvent()
144
{
145
- var commandAlias = this.GetType().GetTypeInfo().GetCustomAttribute<CliCommandAliasAttribute>();
+ var commandAlias = GetType().GetTypeInfo().GetCustomAttributes<CliCommandAliasAttribute>().First();
146
QosEvent = new AzurePSQoSEvent()
147
148
CommandName = commandAlias != null ? "az " + commandAlias.CommandName : this.MyInvocation?.MyCommand?.Name,
0 commit comments