Skip to content

Commit 72990a7

Browse files
author
David Scott
committed
Plumb through the SR.create name and description
Signed-off-by: David Scott <[email protected]>
1 parent f352030 commit 72990a7

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
@@ -505,6 +505,8 @@ let process root_dir name x =
505505
end
506506
| { R.name = "SR.create"; R.params = [ args ] } ->
507507
let args = Args.SR.Create.request_of_rpc args in
508+
let name_label = args.Args.SR.Create.name_label in
509+
let description = args.Args.SR.Create.name_description in
508510
let device_config = args.Args.SR.Create.device_config in
509511
begin match List.find device_config ~f:(fun (k, _) -> k = "uri") with
510512
| None ->
@@ -513,6 +515,8 @@ let process root_dir name x =
513515
let args = Storage.Volume.Types.SR.Create.In.make
514516
args.Args.SR.Create.dbg
515517
uri
518+
name_label
519+
description
516520
device_config in
517521
let args = Storage.Volume.Types.SR.Create.In.rpc_of_t args in
518522
let open Deferred.Result.Monad_infix in

0 commit comments

Comments
 (0)