vSphere Cloud Provider: update vmware/gomvomi godeps
This commit is contained in:
4
vendor/github.com/vmware/govmomi/simulator/snapshot.go
generated
vendored
4
vendor/github.com/vmware/govmomi/simulator/snapshot.go
generated
vendored
@@ -39,6 +39,10 @@ func (v *VirtualMachineSnapshot) RemoveSnapshotTask(req *types.RemoveSnapshot_Ta
|
||||
}
|
||||
|
||||
vm.Snapshot.RootSnapshotList = removeSnapshotInTree(vm.Snapshot.RootSnapshotList, req.This, req.RemoveChildren)
|
||||
|
||||
if len(vm.Snapshot.RootSnapshotList) == 0 {
|
||||
vm.Snapshot = nil
|
||||
}
|
||||
})
|
||||
|
||||
return nil, nil
|
||||
|
||||
Reference in New Issue
Block a user