mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
bug #3787: Check if secgroups is defined for a nic
This commit is contained in:
parent
2fff41d8d0
commit
5b45276fcc
@ -231,7 +231,7 @@ define(function(require) {
|
||||
var secgroups = [];
|
||||
|
||||
var nic_secgroups = {};
|
||||
if (nic.SECURITY_GROUPS != undefined) {
|
||||
if (!$.isEmptyObject(nic.SECURITY_GROUPS)) {
|
||||
$.each(nic.SECURITY_GROUPS.split(","), function() {
|
||||
nic_secgroups[this] = true;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user