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

B #5291: Fix VCPU block NUMA sockets (#991)

Signed-off-by: Frederick Borges <fborges@opennebula.io>
This commit is contained in:
Frederick Borges 2021-03-17 17:43:45 +01:00 committed by GitHub
parent 946eb5e42d
commit e829fde147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,8 +174,10 @@ define(function(require) {
});
context.on("change", "#VCPU", function(){
CoresPerSocket.generateCores(VCPU_SELECTOR);
CoresPerSocket.calculateSockets(VCPU_SELECTOR);
if ($('#vcenterRadio').is(':checked')){
CoresPerSocket.generateCores(VCPU_SELECTOR);
CoresPerSocket.calculateSockets(VCPU_SELECTOR);
}
$("#selectedVCPU").val(this.value);
});