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:
parent
3cf9d5c68b
commit
22574704e4
@ -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:
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user