mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
Bug #3607: Fix updatear with restricted attributes
This commit is contained in:
parent
c83a038d78
commit
afb568e5c6
@ -277,9 +277,10 @@ int AddressRange::update_attributes(
|
|||||||
|
|
||||||
if (keep_restricted && restricted_set)
|
if (keep_restricted && restricted_set)
|
||||||
{
|
{
|
||||||
remove_all_except_restricted(attr);
|
VectorAttribute va_aux(*attr);
|
||||||
|
remove_all_except_restricted(&va_aux);
|
||||||
|
|
||||||
vup->merge(attr, true);
|
vup->merge(&va_aux, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ----------------- update known attributes ----------------- */
|
/* ----------------- update known attributes ----------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user