Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Jun 5, 2022
1 parent fba540b commit d1dc70d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airflow/providers/elasticsearch/log/es_task_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def __init__(

if USE_PER_RUN_LOG_ID and log_id_template is not None:
warnings.warn(
"Passing log_id_template to the log handler is deprecated and has not effect",
"Passing log_id_template to ElasticsearchTaskHandler is deprecated and has no effect",
DeprecationWarning,
)

Expand Down
2 changes: 1 addition & 1 deletion airflow/utils/log/file_task_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self, base_log_folder: str, filename_template: Optional[str] = None
self.local_base = base_log_folder
if filename_template is not None:
warnings.warn(
"Passing filename_template to FileTaskHandler is deprecated and has not effect",
"Passing filename_template to FileTaskHandler is deprecated and has no effect",
DeprecationWarning,
)

Expand Down

0 comments on commit d1dc70d

Please sign in to comment.