You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jack (JIRA)" <ji...@apache.org> on 2019/07/01 14:52:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16876240#comment-16876240 ]
jack commented on AIRFLOW-4187:
-------------------------------
[~ash] can you close this?
Fixed in https://issues.apache.org/jira/browse/AIRFLOW-4262
> 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)