mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
feature #575: Fix wrong stream while printing error in HookManager. Changed name of ERROR attribute
This commit is contained in:
parent
5dc7b686ad
commit
9c0fcc9702
@ -172,7 +172,7 @@ void HookManagerDriver::protocol(
|
||||
|
||||
if ( !info.empty() && info[0] != '-' )
|
||||
{
|
||||
vm->set_template_error_message(os.str());
|
||||
vm->set_template_error_message(oss.str());
|
||||
vmpool->update(vm);
|
||||
}
|
||||
|
||||
|
@ -132,7 +132,7 @@ void PoolObjectSQL::set_template_error_message(const string& message)
|
||||
|
||||
str[24] = '\0'; // Get rid of final enter character
|
||||
|
||||
error_value.insert(make_pair("TIME_STAMP",str));
|
||||
error_value.insert(make_pair("TIMESTAMP",str));
|
||||
error_value.insert(make_pair("MESSAGE",message));
|
||||
|
||||
attr = new VectorAttribute(error_attribute_name,error_value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user