mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Feature #662: Fix small bugs in RMChown
This commit is contained in:
parent
591bee2f54
commit
48813d8a45
@ -30,7 +30,7 @@ void RequestManagerChown::request_execute(xmlrpc_c::paramList const& paramList)
|
||||
|
||||
Nebula& nd = Nebula::instance();
|
||||
GroupPool * gpool = nd.get_gpool();
|
||||
UserPool * upool = static_cast<UserPool *>(pool);
|
||||
UserPool * upool = nd.get_upool();
|
||||
|
||||
PoolObjectSQL * object;
|
||||
|
||||
@ -134,6 +134,7 @@ void UserChown::request_execute(xmlrpc_c::paramList const& paramList)
|
||||
|
||||
if ((old_gid = user->get_gid()) == ngid)
|
||||
{
|
||||
user->unlock();
|
||||
success_response(oid);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user