Skip to content

Commit b26e6bc

Browse files
author
He Huang
committed
Fix assignment error
1 parent 3cc127e commit b26e6bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/ResourceManager/Implementation/CmdletBase/ResourceManipulationCmdletBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ protected string GetResourceId()
146146
private string GetResourceIdWithoutParentResource()
147147
{
148148
return ResourceIdUtility.GetResourceId(
149-
subscriptionId: TenantLevel.IsPresent ? null : this.SubscriptionId,
149+
subscriptionId: TenantLevel.IsPresent ? null : (Guid?)this.SubscriptionId,
150150
resourceGroupName: TenantLevel.IsPresent ? null : this.ResourceGroupName,
151151
resourceType: this.ResourceType,
152152
resourceName: this.ResourceName,

0 commit comments

Comments
 (0)