Skip to content

Commit 6eda202

Browse files
committed
Merge pull request #52 from AzCiS/deletevmfix
Passing true in case the persist parameter is not specified
2 parents 9d5597a + d4f043a commit 6eda202

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/VirtualDevice/NewAzureStorSimpleVirtualDeviceCommand.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ public override void ExecuteCmdlet()
6464
{
6565
applianceProvisiongInfo.DeleteAzureCisVMOnFailure = false;
6666
}
67+
else
68+
{
69+
applianceProvisiongInfo.DeleteAzureCisVMOnFailure = true;
70+
}
6771

6872
var deviceJobResponse = StorSimpleClient.CreateVirtualDevice(applianceProvisiongInfo);
6973

0 commit comments

Comments
 (0)