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/04/01 19:02:22 UTC

[GitHub] [airflow] XD-DENG commented on issue #15131: airflow scheduler -p command not working in airflow 2.0.1

XD-DENG commented on issue #15131:
URL: https://github.com/apache/airflow/issues/15131#issuecomment-812109409


   I can confirm this issue.
   
   That's because `_build_metrics()` checks the arg, and tries to mask value for password. When it sees `-p`, it assumes there is another value following, which is password (that's why there is `idx + 1`).
   
   This assumption fails in `scheduler` scenario though, because it can simply be `airflow scheduler -p`.


-- 
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.

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