An error occurred while fetching the assigned milestone of the selected merge_request.
Draft: fluxio/dev-skill-timeout
Merge request reports
Activity
Filter activity
644 644 } 645 645 646 646 void SkillManagerComponentPlugin::updateSkill(const skills::FluxioSkill& skill){ 647 647 if (auto oldSkill = getSkill(skill.id); oldSkill.has_value()) { 648 oldSkill->name = skill.name; 649 oldSkill->description = skill.description; 650 oldSkill->lastChanged = armarx::DateTime::Now().toDateTimeString(); 651 oldSkill->executable = skill.executable; 652 // oldSkill->native = skill.native; Not changeable 653 oldSkill->parameters = skill.parameters; 654 655 oldSkill->skillProviderPtr->id = skill.skillProviderPtr->id; 656 oldSkill->skillProviderPtr->name = skill.skillProviderPtr->name; 657 658 //TODO: this won't work if the new vector is too big and makes the old vector to be reallocated, thereby making all of this useless. Needs a better solution assigned to @urhrf_tusch
Please register or sign in to reply