B #5716: Fix onevm updateconf --append (#1728)

This commit is contained in:
Pavel Czerný authored and GitHub committed 2022-01-31 18:53:34 +01:00
1 parent 6cb4ddbdd0
commit efdf4d31b7
1 file changed
+1 -1
+1 -1
View File
@@ -2962,7 +2962,7 @@ int VirtualMachine::updateconf(VirtualMachineTemplate* tmpl, string &err,
obj_template->remove(context_new);
obj_template->set(context_bck);
context_bck->merge(context_new, false);
context_bck->merge(context_new, true);
delete context_new;
}