Skip to content

Commit

Permalink
fixup! fix: Disk controller setup does not add hard disk other than v…
Browse files Browse the repository at this point in the history
…irtio0 (#304)
  • Loading branch information
Manisha15 committed Dec 19, 2023
1 parent 2fcf04c commit 3bc6e3a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ function controllerSelected(item) {
var profile = isProfile();
var device_selector = volumesAttributesSelector(profile,index,'device');
var id_selector = volumesAttributesSelector(profile,index,'id');
$(device_selector).attr('data-soft-max', max);
var device = $(device_selector).val();
var id = controller + device;
validateDeviceLimit(device_selector, max);
Expand All @@ -58,7 +57,7 @@ function deviceSelected(item) {
var controller = $(controller_selector).val();
var id = controller + device;
var max = computeControllerMaxDevice(controller);
validateDeviceLimit(device_selector, max);
validateDeviceLimit(item, max);
$(id_selector).val(id);
}

Expand Down

0 comments on commit 3bc6e3a

Please sign in to comment.