1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-26 10:03:37 +03:00

bug #742: Cosmetic change in error message for Image::persistent method

This commit is contained in:
Ruben S. Montero 2011-07-27 10:17:17 +02:00
parent 3cf9d5c68b
commit 22574704e4
2 changed files with 4 additions and 4 deletions

View File

@ -233,11 +233,11 @@ public:
return 0;
error_vms:
error_str = "Image cannot be in 'used' state";
error_str = "Image cannot be in 'used' state.";
goto error_common;
error_public:
error_str = "Image cannot be public and persistent";
error_str = "Image cannot be public and persistent.";
goto error_common;
error_common:

View File

@ -93,11 +93,11 @@ void ImagePersistent::request_execute(xmlrpc_c::paramList const& paramList,
{
if (persistent_flag == true)
{
err_msg = "Could not make image persistent: " + err_msg + ".";
err_msg = "Could not make image persistent: " + err_msg;
}
else
{
err_msg = "Could not make image non-persistent: " + err_msg + ".";
err_msg = "Could not make image non-persistent: " + err_msg;
}
failure_response(INTERNAL,request_error(err_msg,""), att);