1
0
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:
Carlos Martín 2014-03-14 16:58:36 +01:00
parent 4e79f13251
commit 425dbd8c22
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ void GroupSetQuota::
group->quota.set(&quota_tmpl, error_str);
pool->update(group);
static_cast<GroupPool *>(pool)->update_quotas(group);
group->unlock();

View File

@ -198,7 +198,7 @@ int UserSetQuota::user_action(int user_id,
rc = user->quota.set(&quota_tmpl, error_str);
pool->update(user);
static_cast<UserPool *>(pool)->update_quotas(user);
user->unlock();