Skip to content
Snippets Groups Projects
Commit 4bf4d46a authored by jgatt's avatar jgatt
Browse files

fix assertion in logging

parent d9a9ed99
Branches
Tags
1 merge request!12Merge Request multibehavior
......@@ -26,7 +26,7 @@ std::vector<std::string> BehaviorStat::split_id(){
boost::basic_format<char> BehaviorStat::format()
{
std::vector<std::string> splitting = split_id();
PPK_ASSERT_ERROR(splitting.size()<2,
PPK_ASSERT_ERROR(splitting.size()>=2,
"Error logging the job behavior the job_id should be of the format"
" user_id!job_id");
return boost::format("%1%,%2%,%3%,%4%,%5%\n") % splitting[0] %
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment