Skip to content

Commit

Permalink
B #6215: Sunstone overrides DISK SIZE attribute on instantiation (#2623)
Browse files Browse the repository at this point in the history
  • Loading branch information
jloboescalona2 committed May 25, 2023
1 parent 0b7a952 commit 5e98202
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/sunstone/public/app/utils/disks-resize.js
Expand Up @@ -231,9 +231,7 @@ define(function(require){
OPENNEBULA_MANAGED: disk.OPENNEBULA_MANAGED,
RECOVERY_SNAPSHOT_FREQ: disk.RECOVERY_SNAPSHOT_FREQ
}
if (disk.SIZE !== fields.SIZE) {
newDisk["SIZE"] = fields.SIZE
}
newDisk["SIZE"] = fields.SIZE // Always send the value of the size, as the default form has the value of the template
disks.push(newDisk)
} else {
var diskAux = $.extend(true, {}, disk);
Expand Down

0 comments on commit 5e98202

Please sign in to comment.