You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2019/07/01 15:09:00 UTC
[jira] [Closed] (AIRFLOW-4187) Slack Webhook Operator do not pass
conn_id to its parent class
[ https://issues.apache.org/jira/browse/AIRFLOW-4187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ash Berlin-Taylor closed AIRFLOW-4187.
--------------------------------------
Resolution: Duplicate
Fixed in 1.10.4
> Slack Webhook Operator do not pass conn_id to its parent class
> --------------------------------------------------------------
>
> Key: AIRFLOW-4187
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4187
> Project: Apache Airflow
> Issue Type: Bug
> Reporter: Bryan Yang
> Assignee: Bryan Yang
> Priority: Major
>
> {{SlackWebhookOperator}} inherits from {{HttpHook}}. HttpHook will find the conn.host by http_conn_id, but {{SlackWebhookOperator}} didn't pass http_conn_id to HttpHook so that HttpHook always use it default value `http_default` to get the host like this:
> bq. [2019-03-29 10:23:21,444] {base_hook.py:83} INFO - Using connection to: id: http_default. Host: https://www.google.com/, Port: None, Schema: None, Login: None, Password: None, extra: {}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)