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

Bug #3123: Do not round mem quotas in update

(cherry picked from commit cbc3e49c318f7e4ac746c370b45549aae773b460)
This commit is contained in:
Carlos Martín 2014-12-16 16:06:22 +01:00
parent da48417154
commit 9d1b9efc34

View File

@ -5592,7 +5592,7 @@ function setup_provision_user_info(context) {
if(mem_limit != QUOTA_LIMIT_UNLIMITED &&
mem_limit != QUOTA_LIMIT_DEFAULT){
mem_limit = Math.floor(quotas.VM.MEMORY/1024);
mem_limit = quotas.VM.MEMORY/1024;
}
}