Skip to content

Commit 4ef853c

Browse files
committed
Merge pull request xapi-project#4 from djs55/CP-13874
CP-13874: pass in `name_label` and `name_description`
2 parents dec13b1 + 48d4190 commit 4ef853c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ let old_main () =
7575
Printf.printf "%s\n" (q |> rpc_of_query_result |> Jsonrpc.to_string)
7676
| "sr-create" :: sr :: device_config ->
7777
let device_config = kvpairs device_config in
78-
Client.SR.create ~dbg ~sr ~device_config ~physical_size:0L
78+
Client.SR.create ~dbg ~sr ~name_label:"name" ~name_description:"description" ~device_config ~physical_size:0L
7979
| "sr-attach" :: sr :: device_config ->
8080
let device_config = kvpairs device_config in
8181
Client.SR.attach ~dbg ~sr ~device_config

0 commit comments

Comments
 (0)