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 c0d5e8d commit 4e2c1a1Copy full SHA for 4e2c1a1
test/e2e/common.go
@@ -220,12 +220,6 @@ func DestroyOneMachine(clusterName string, machineType string) {
220
}
221
222
Byf("Destroying machine %s", vmToDestroy.Name)
223
- stopParams := client.VirtualMachine.NewStopVirtualMachineParams(vmToDestroy.Id)
224
- stopParams.SetForced(true)
225
- _, err = client.VirtualMachine.StopVirtualMachine(stopParams)
226
- if err != nil {
227
- Fail("Failed to stop machine: " + err.Error())
228
- }
229
destroyParams := client.VirtualMachine.NewDestroyVirtualMachineParams(vmToDestroy.Id)
230
destroyParams.SetExpunge(true)
231
_, err = client.VirtualMachine.DestroyVirtualMachine(destroyParams)
0 commit comments