mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
bug #2221: Update quotas fails if more than one vnet quota is defined
This commit is contained in:
parent
93cf59e652
commit
b88ccf68a1
@ -1622,7 +1622,7 @@ function parseQuotas(elem, formatter_f){
|
||||
}
|
||||
|
||||
var vn_arr = []
|
||||
if ($.isArray(elem.NETWORK_QUOTA)){
|
||||
if ($.isArray(elem.NETWORK_QUOTA.NETWORK)){
|
||||
vn_arr = elem.NETWORK_QUOTA.NETWORK
|
||||
} else if (!$.isEmptyObject(elem.NETWORK_QUOTA)){
|
||||
vn_arr = [elem.NETWORK_QUOTA.NETWORK]
|
||||
|
Loading…
x
Reference in New Issue
Block a user