You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/23 14:49:01 UTC

[GitHub] [airflow] jobegrabber edited a comment on issue #12369: In 2.0.0b2/master, CLI "airflow connections add" is not handling invalid URIs properly

jobegrabber edited a comment on issue #12369:
URL: https://github.com/apache/airflow/issues/12369#issuecomment-976657789


   @XD-DENG @kaxil I'm not sure if an error should be raised on a missing `netloc` since at least for Google Cloud connections it is actually ignored: https://airflow.apache.org/docs/apache-airflow-providers-google/stable/connections/gcp.html#configuring-the-connection
   
   This also caused a regression for us when upgrading to Airflow 2 and setting up connections through the CLI.
   It took me a while to figure out what was causing the URI to become "invalid" - so this at least there should be a more precise warning about the actual part missing..


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org