Skip to content
Snippets Groups Projects
Commit 17a0a0ab authored by Moritz Gleissner's avatar Moritz Gleissner
Browse files

empty list fix

parent 4c4a919f
No related branches found
No related tags found
4 merge requests!460Draft: fluxio/dev-skill-timeout,!449Fluxio preliminary release,!448"fluxio composite executor",!446Draft: Fluxio related changes
Pipeline #18867 failed
......@@ -61,7 +61,10 @@ namespace armarx::plugins
update.subSkillNodeId = this->skillId.skillName;
update.status = status->status;
this->statusUpdates.push_back(update);
if (this->statusUpdates.empty() || update.status != this->statusUpdates.back().status)
{
this->statusUpdates.push_back(update);
}
auto ret = this->statusUpdates;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment