Skip to content
Snippets Groups Projects

Draft: fluxio/dev-skill-timeout

Closed Julian Tusch requested to merge fluxio/dev-skill-timeout into master

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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
  • Julian Tusch marked this merge request as draft

    marked this merge request as draft

  • Julian Tusch changed title from fixed datatypes and conversions to Draft: fluxio/dev-skill-timeout

    changed title from fixed datatypes and conversions to Draft: fluxio/dev-skill-timeout

  • Julian Tusch changed the description

    changed the description

  • closed

  • Please register or sign in to reply
    Loading