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

B #5983: fix min/max data type (#2307)

This commit is contained in:
Jorge Miguel Lobo Escalona 2022-10-14 10:21:28 +02:00 committed by GitHub
parent 66442e00a0
commit 39ceb78969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,12 +309,12 @@ define(function(require) {
var min_vms = $('input[name="min_vms"]', context).val();
if (min_vms) {
role['min_vms'] = min_vms;
role['min_vms'] = parseInt(min_vms,10);
}
var max_vms = $('input[name="max_vms"]', context).val();
if (max_vms) {
role['max_vms'] = max_vms;
role['max_vms'] = parseInt(max_vms,10);
}
var cooldown = $('input[name="cooldown"]', context).val();