We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1bfa34 commit 9f44ef3Copy full SHA for 9f44ef3
ocaml/xapi/import.ml
@@ -345,7 +345,9 @@ module VM : HandlerTools = struct
345
match precheck_result with
346
| Skip -> ()
347
| Fail e -> raise e
348
- | Default_template template -> state.table <- (x.cls, x.id, Ref.string_of template) :: state.table
+ | Default_template template ->
349
+ state.table <- (x.cls, x.id, Ref.string_of template) :: state.table;
350
+ state.created_vms <- (x.cls, x.id, Ref.string_of template) :: state.created_vms
351
| Clean_import _ | Replace _ ->
352
let dummy_vm = Ref.make () in
353
state.table <- (x.cls, x.id, Ref.string_of dummy_vm) :: state.table
0 commit comments