Repository: incubator-airflow
Updated Branches:
  refs/heads/master b1f902e63 -> 9450d8db6


[AIRFLOW-1541] Add channel to template fields of slack_operator

Closes #2549 from Acehaidrey/AIRFLOW-1541


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/9450d8db
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/9450d8db
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/9450d8db

Branch: refs/heads/master
Commit: 9450d8db6f005d3c5ad84c23c484bbb119e112a8
Parents: b1f902e
Author: Ace Haidrey <ahaid...@pandora.com>
Authored: Wed Aug 30 11:52:47 2017 -0700
Committer: Dan Davydov <dan.davy...@airbnb.com>
Committed: Wed Aug 30 11:52:48 2017 -0700

----------------------------------------------------------------------
 airflow/operators/slack_operator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/9450d8db/airflow/operators/slack_operator.py
----------------------------------------------------------------------
diff --git a/airflow/operators/slack_operator.py 
b/airflow/operators/slack_operator.py
index 2e6d426..86659d9 100644
--- a/airflow/operators/slack_operator.py
+++ b/airflow/operators/slack_operator.py
@@ -86,7 +86,7 @@ class SlackAPIPostOperator(SlackAPIOperator):
     :type attachments: array of hashes
     """
 
-    template_fields = ('username', 'text', 'attachments')
+    template_fields = ('username', 'text', 'attachments', 'channel')
     ui_color = '#FFBA40'
 
     @apply_defaults

Reply via email to