You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by fo...@apache.org on 2018/03/28 14:58:46 UTC
incubator-airflow git commit: [AIRFLOW-2260] [AIRFLOW-2260]
SSHOperator add command template .sh files
Repository: incubator-airflow
Updated Branches:
refs/heads/master 02eff2848 -> e21a2d2c7
[AIRFLOW-2260]
[AIRFLOW-2260] SSHOperator add command template .sh files
Closes #3169 from nrhvyc/AIRFLOW-2260
Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/e21a2d2c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/e21a2d2c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/e21a2d2c
Branch: refs/heads/master
Commit: e21a2d2c7f41d8cef63f43a622752b53ecc3e353
Parents: 02eff28
Author: Nick Hughes <ni...@multiply.com>
Authored: Wed Mar 28 16:58:38 2018 +0200
Committer: Fokko Driesprong <fo...@godatadriven.com>
Committed: Wed Mar 28 16:58:38 2018 +0200
----------------------------------------------------------------------
airflow/contrib/operators/ssh_operator.py | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/e21a2d2c/airflow/contrib/operators/ssh_operator.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/operators/ssh_operator.py b/airflow/contrib/operators/ssh_operator.py
index 52eafc7..4fba1a3 100644
--- a/airflow/contrib/operators/ssh_operator.py
+++ b/airflow/contrib/operators/ssh_operator.py
@@ -41,6 +41,7 @@ class SSHOperator(BaseOperator):
"""
template_fields = ('command',)
+ template_ext = ('.sh',)
@apply_defaults
def __init__(self,