Github user mxmrlv commented on a diff in the pull request:
https://github.com/apache/incubator-ariatosca/pull/12#discussion_r86744468
--- Diff: aria/workflows/builtin/workflows.py ---
@@ -211,17 +209,24 @@ def relationships_tasks(operation_name, context,
node_instance):
sub_tasks = []
for index, (_, relationship_group) in enumerate(relationships_groups):
for relationship_instance in relationship_group:
- relationship_subgraph = relationship_tasks(
+ relationship_operations = relationship_tasks(
+ graph=graph,
node_instance=node_instance,
relationship_instance=relationship_instance,
context=context,
operation_name=operation_name,
index=index)
- sub_tasks.append(relationship_subgraph)
- return sub_tasks
+ sub_tasks.append(relationship_operations)
+
+ return graph.sequence(*sub_tasks) if sub_tasks else sub_tasks
--- End diff --
simplify
---
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.
---