mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-11 05:17:41 +03:00
fixed bug in image persistent method
This commit is contained in:
parent
e43bf2241b
commit
ae5fd0b3f1
@ -136,8 +136,9 @@ error_authorize:
|
||||
goto error_common;
|
||||
|
||||
error_persistent:
|
||||
oss << action_error(method_name, "MANAGE", "IMAGE", iid, 0)
|
||||
<< ". Is the image public? An Image cannot be public and persistent.";
|
||||
image->unlock();
|
||||
oss << action_error(method_name, "MANAGE", "IMAGE", iid, NULL)
|
||||
<< " Is the image public? An Image cannot be public and persistent.";
|
||||
goto error_common;
|
||||
|
||||
error_common:
|
||||
|
Loading…
Reference in New Issue
Block a user