ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxmrlv <...@git.apache.org>
Subject [GitHub] incubator-ariatosca pull request #117: ARIA-163 update node state for stub t...
Date Wed, 03 May 2017 13:39:06 GMT
Github user mxmrlv commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/117#discussion_r114537108
  
    --- Diff: aria/orchestrator/workflows/core/task.py ---
    @@ -130,15 +144,18 @@ def __init__(self, api_task, *args, **kwargs):
     
             task_model = create_task_model(
                 name=api_task.name,
    -            implementation=api_task.implementation,
                 actor=api_task.actor,
    -            inputs=api_task.inputs,
                 status=base_task_model.PENDING,
                 max_attempts=api_task.max_attempts,
                 retry_interval=api_task.retry_interval,
                 ignore_failure=api_task.ignore_failure,
    -            plugin=plugin,
    -            execution=self._workflow_context.execution
    +            execution=self._workflow_context.execution,
    +
    +            # Only non-stub tasks have these fields
    +            plugin=getattr(api_task, 'plugin', None),
    --- End diff --
    
    update the api_task


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message