You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (JIRA)" <ji...@apache.org> on 2018/05/23 12:10:00 UTC

[jira] [Resolved] (AIRFLOW-2498) Unexpected argument in SFTP Sensor

     [ https://issues.apache.org/jira/browse/AIRFLOW-2498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kaxil Naik resolved AIRFLOW-2498.
---------------------------------
    Resolution: Fixed

Issue resolved by pull request #3392
[https://github.com/apache/incubator-airflow/pull/3392]

> Unexpected argument in SFTP Sensor
> ----------------------------------
>
>                 Key: AIRFLOW-2498
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2498
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: contrib
>            Reporter: Kaxil Naik
>            Assignee: Kaxil Naik
>            Priority: Major
>             Fix For: 2.0.0
>
>
> The SFTP sensor is using SFTP hook and passing `sftp_conn_id` to `sftp_conn_id` parameter which doesn't exist. The solution would be to remove the parameter name, hence defaulting to first parameter which in this case would be `ftp_conn_id`.
> For reference:
> https://github.com/apache/incubator-airflow/blob/master/airflow/contrib/hooks/sftp_hook.py#L42



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)