Skip to content

Commit

Permalink
Fix dag-processor fetch metabase config (#23575)
Browse files Browse the repository at this point in the history
(cherry picked from commit 9837e6d)
  • Loading branch information
Andrey Anshin authored and ephraimbuddy committed May 19, 2022
1 parent 27762af commit d07392f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/cli/commands/dag_processor_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def dag_processor(args):
if not conf.getboolean("scheduler", "standalone_dag_processor"):
raise SystemExit('The option [scheduler/standalone_dag_processor] must be True.')

sql_conn: str = conf.get('core', 'sql_alchemy_conn').lower()
sql_conn: str = conf.get('database', 'sql_alchemy_conn').lower()
if sql_conn.startswith('sqlite'):
raise SystemExit('Standalone DagProcessor is not supported when using sqlite.')

Expand Down

0 comments on commit d07392f

Please sign in to comment.