mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 11:52:37 +09:00
bug #3787: Check if secgroups is defined for a nic
This commit is contained in:
1 parent
2fff41d8d0
commit
5b45276fcc
1 file changed
+1
-1
@@ -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;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user