1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Bug #4114: Do not delete instance type name on vm instantiate

(cherry picked from commit d69f999c62133dd198de0f1a32b17c7ebeab2474)
This commit is contained in:
Carlos Martín 2015-11-03 18:25:44 +01:00
parent 5e0cf9b5e0
commit 90395c7e6d

View File

@ -1325,8 +1325,9 @@ define(function(require) {
}
if (instance_type.length > 0) {
var instance_typa_data = instance_type.data("opennebula");
var instance_typa_data = $.extend({}, instance_type.data("opennebula"));
delete instance_typa_data.name;
delete instance_typa_data.description;
$.extend(extra_info.template, instance_typa_data)
}