mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
feature #3175: Fix error rebuilding AR security groups
This commit is contained in:
parent
c77ccc3663
commit
8a22a6d885
@ -364,6 +364,15 @@ int AddressRange::from_vattr_db(VectorAttribute *vattr)
|
||||
|
||||
rc += attr_to_allocated(vattr->vector_value("ALLOCATED"));
|
||||
|
||||
value = vattr->vector_value("SECURITY_GROUPS");
|
||||
|
||||
security_groups.clear();
|
||||
|
||||
if (!value.empty())
|
||||
{
|
||||
one_util::split_unique(value, ',', security_groups);
|
||||
}
|
||||
|
||||
if (type == NONE)
|
||||
{
|
||||
rc = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user