Skip to content

Commit 201473e

Browse files
committed
Make some parameters optional for drtask-create.
Signed-off-by: John Else <[email protected]>
1 parent faf620f commit 201473e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ocaml/xapi/cli_frontend.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2344,8 +2344,8 @@ add a mapping of 'path' -> '/tmp', the command line should contain the argument
23442344
};
23452345
"drtask-create",
23462346
{
2347-
reqd=["type"; "device-config"; "sr-whitelist"];
2348-
optn=[];
2347+
reqd=["type"];
2348+
optn=["device-config:"; "sr-whitelist"];
23492349
help="Create a disaster recovery task.";
23502350
implementation=No_fd Cli_operations.dr_task_create;
23512351
flags=[]

0 commit comments

Comments
 (0)