Skip to content

Commit 694d39d

Browse files
author
Jessica Wang
committed
CLOUDSTACK-5889: UI > VM Wizard > corresonding UI change for new change of deployVirtualMachine API (that customparameter parameter has been renamed)
1 parent 9c32605 commit 694d39d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎ui/scripts/instanceWizard.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -613,17 +613,17 @@
613613
if (args.$wizard.find('input[name=compute-cpu-cores]').parent().parent().css('display') != 'none') {
614614
if (args.$wizard.find('input[name=compute-cpu-cores]').val().length > 0) {
615615
$.extend(deployVmData, {
616-
'customparameters[0].cpuNumber' : args.$wizard.find('input[name=compute-cpu-cores]').val()
616+
'details[0].cpuNumber' : args.$wizard.find('input[name=compute-cpu-cores]').val()
617617
});
618618
}
619619
if (args.$wizard.find('input[name=compute-cpu]').val().length > 0) {
620620
$.extend(deployVmData, {
621-
'customparameters[0].cpuSpeed' : args.$wizard.find('input[name=compute-cpu]').val()
621+
'details[0].cpuSpeed' : args.$wizard.find('input[name=compute-cpu]').val()
622622
});
623623
}
624624
if (args.$wizard.find('input[name=compute-memory]').val().length > 0) {
625625
$.extend(deployVmData, {
626-
'customparameters[0].memory' : args.$wizard.find('input[name=compute-memory]').val()
626+
'details[0].memory' : args.$wizard.find('input[name=compute-memory]').val()
627627
});
628628
}
629629
}

0 commit comments

Comments
 (0)