Skip to content

Commit

Permalink
Fix deprecated log_id_template value (#24506)
Browse files Browse the repository at this point in the history
We had the wrong old default in our deprecated value upgrading logic, so
the 2.2.5 default wasn't actually being upgraded.
  • Loading branch information
jedcunningham committed Jun 17, 2022
1 parent c749462 commit a955ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ class AirflowConfigParser(ConfigParser):
},
'elasticsearch': {
'log_id_template': (
re.compile('^' + re.escape('{dag_id}-{task_id}-{run_id}-{try_number}') + '$'),
re.compile('^' + re.escape('{dag_id}-{task_id}-{execution_date}-{try_number}') + '$'),
'{dag_id}-{task_id}-{run_id}-{map_index}-{try_number}',
'3.0',
)
Expand Down

0 comments on commit a955ae4

Please sign in to comment.