1
0
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:
Jaime Melis 2010-08-06 13:41:31 +02:00
parent e43bf2241b
commit ae5fd0b3f1

View File

@ -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: