mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
bug #2221: Update quotas fails if more than one vnet quota is defined
This commit is contained in:
1 parent
93cf59e652
commit
b88ccf68a1
1 file changed
+1
-1
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user