Skip to content

Commit 5686c70

Browse files
author
David Scott
committed
VDI.set_persistent: this is a no-op
We do all clone-on-boot actions during the VDI.epoch_begin and VDI.epoch_end, so we can ignore this one. Signed-off-by: David Scott <[email protected]>
1 parent 179be08 commit 5686c70

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.ml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,10 @@ let process root_dir name x =
706706
>>= fun () ->
707707
Deferred.Result.return (R.success (Args.VDI.Epoch_end.rpc_of_response ()))
708708
end
709+
| { R.name = "VDI.set_persistent"; R.params = [ args ] } ->
710+
let open Deferred.Result.Monad_infix in
711+
(* We don't do anything until the VDI.epoch_begin *)
712+
Deferred.Result.return (R.success (Args.VDI.Set_persistent.rpc_of_response ()))
709713
| { R.name = name } ->
710714
Deferred.return (Error (backend_error "UNIMPLEMENTED" [ name ])))
711715
>>= function

0 commit comments

Comments
 (0)