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 038e125 commit 706fffcCopy full SHA for 706fffc
src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/GetAzureRoleDefinitionCommand.cs
@@ -54,7 +54,7 @@ public override void ExecuteCmdlet()
54
Scope = Scope,
55
ResourceIdentifier = new ResourceIdentifier
56
{
57
- Subscription = (DefaultProfile.DefaultContext.Subscription.Id == null)?null:DefaultProfile.DefaultContext.Subscription.Id.ToString()
+ Subscription = DefaultProfile.DefaultContext.Subscription.Id?.ToString()
58
},
59
RoleDefinitionId = Id,
60
RoleDefinitionName = Name,
0 commit comments