mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
Fix bug in quotas update
This commit is contained in:
parent
4e79f13251
commit
425dbd8c22
@ -65,7 +65,7 @@ void GroupSetQuota::
|
||||
|
||||
group->quota.set("a_tmpl, error_str);
|
||||
|
||||
pool->update(group);
|
||||
static_cast<GroupPool *>(pool)->update_quotas(group);
|
||||
|
||||
group->unlock();
|
||||
|
||||
|
@ -198,7 +198,7 @@ int UserSetQuota::user_action(int user_id,
|
||||
|
||||
rc = user->quota.set("a_tmpl, error_str);
|
||||
|
||||
pool->update(user);
|
||||
static_cast<UserPool *>(pool)->update_quotas(user);
|
||||
|
||||
user->unlock();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user