Github user mxmrlv commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/125#discussion_r115427582
  
    --- Diff: aria/modeling/service_template.py ---
    @@ -549,9 +549,13 @@ def as_raw(self):
                 ('requirement_templates', 
formatting.as_raw_list(self.requirement_templates))))
     
         def instantiate(self, container):
    -        context = ConsumptionContext.get_thread_local()
             from . import models
    -        name = context.modeling.generate_node_id(self.name)
    +        if self.nodes:
    +            latest_node_index = self.nodes[-1].name.rsplit('_', 1)[1]
    --- End diff --
    
    Pretty sure sql orders according to the indexed column


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to