This is an automated email from the ASF dual-hosted git repository.

jedcunningham pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new c33299d4325 Fixing log typos in Local & Celery Executors (#46866)
c33299d4325 is described below

commit c33299d432510347dac71d3eabfada2bd8fe2075
Author: Amogh Desai <[email protected]>
AuthorDate: Tue Feb 18 23:49:32 2025 +0530

    Fixing log typos in Local & Celery Executors (#46866)
---
 airflow/executors/local_executor.py                                     | 2 +-
 .../src/airflow/providers/celery/executors/celery_executor_utils.py     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/airflow/executors/local_executor.py 
b/airflow/executors/local_executor.py
index 9c39156ed63..c9ebb8189ba 100644
--- a/airflow/executors/local_executor.py
+++ b/airflow/executors/local_executor.py
@@ -82,7 +82,7 @@ def _run_worker(
             return
 
         if not isinstance(workload, workloads.ExecuteTask):
-            raise ValueError(f"LocalExecutor does not now how to handle 
{type(workload)}")
+            raise ValueError(f"LocalExecutor does not know how to handle 
{type(workload)}")
 
         # Decrement this as soon as we pick up a message off the queue
         with unread_messages:
diff --git 
a/providers/celery/src/airflow/providers/celery/executors/celery_executor_utils.py
 
b/providers/celery/src/airflow/providers/celery/executors/celery_executor_utils.py
index 53fa2aa370a..a3a8557ca03 100644
--- 
a/providers/celery/src/airflow/providers/celery/executors/celery_executor_utils.py
+++ 
b/providers/celery/src/airflow/providers/celery/executors/celery_executor_utils.py
@@ -152,7 +152,7 @@ def execute_workload(input: str) -> None:
     celery_task_id = app.current_task.request.id
 
     if not isinstance(workload, workloads.ExecuteTask):
-        raise ValueError(f"CeleryExecutor does not now how to handle 
{type(workload)}")
+        raise ValueError(f"CeleryExecutor does not know how to handle 
{type(workload)}")
 
     log.info("[%s] Executing workload in Celery: %s", celery_task_id, workload)
 

Reply via email to