mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
Bug #340: Fixes image lock when publish fails
This commit is contained in:
parent
3e8db30a9d
commit
0101c6b0a3
@ -105,6 +105,8 @@ void RequestManager::ImagePublish::execute(
|
||||
|
||||
if (!response)
|
||||
{
|
||||
image->unlock();
|
||||
|
||||
goto error_publish;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user