Skip to content

Commit 5f212ad

Browse files
committed
[UVHD Tenant Admin] Add admin cmdlet to delete and copy UVHD part 4
1 parent ff1f582 commit 5f212ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ServiceManagement/RemoteApp/Commands.RemoteApp/UserDisk/CopyAzureRemoteAppUserDisk.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ public class CopyAzureRemoteAppUserDisk : RdsCmdlet
4949
public override void ExecuteCmdlet()
5050
{
5151
AzureOperationResponse response = null;
52-
bool overwriteExistingUserDisk = OverwriteExistingUserDisk ? true : false;
53-
response = CallClient(() => Client.UserDisks.Copy(SourceCollectionName, DestinationCollectionName, UserUpn, overwriteExistingUserDisk), Client.UserDisks);
52+
response = CallClient(() => Client.UserDisks.Copy(SourceCollectionName, DestinationCollectionName, UserUpn, OverwriteExistingUserDisk.IsPresent), Client.UserDisks);
5453
}
5554
}
5655
}

0 commit comments

Comments
 (0)