1
0
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:
Daniel Molina 2015-08-26 15:09:33 +02:00
parent 2fff41d8d0
commit 5b45276fcc

View File

@ -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;
});