Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AIRFLOW-6434] Add return back to DockerOperator.execute #7013

Merged
merged 1 commit into from Jan 3, 2020
Merged

[AIRFLOW-6434] Add return back to DockerOperator.execute #7013

merged 1 commit into from Jan 3, 2020

Conversation

ghost
Copy link

@ghost ghost commented Jan 3, 2020

https://issues.apache.org/jira/browse/AIRFLOW-6434

This change (8a6dc66) introduced a slight (and I believe unintended) change to the Docker Operator xcom behavior. Even if xcom_push is True, DockerOperator.execute will not return a value and thus will not push an xcom value.

@mik-laj
Copy link
Member

mik-laj commented Jan 3, 2020

Can you add tests to prevent regression?
Information about writing tests is available:
https://github.com/apache/airflow/blob/master/TESTING.rst
Information about development environment:
https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst

@ghost
Copy link
Author

ghost commented Jan 3, 2020

@mik-laj added a test for expected behavior

@mik-laj mik-laj merged commit a5030f3 into apache:master Jan 3, 2020
kaxil pushed a commit that referenced this pull request Jan 23, 2020
kaxil added a commit that referenced this pull request Jan 24, 2020
potiuk pushed a commit that referenced this pull request Jan 26, 2020
kaxil pushed a commit that referenced this pull request Jan 26, 2020
kaxil pushed a commit that referenced this pull request Feb 3, 2020
galuszkak pushed a commit to FlyrInc/apache-airflow that referenced this pull request Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant