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

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


The following commit(s) were added to refs/heads/master by this push:
     new a8f83ff  Fix typos in scripts/perf/scheduler_dag_execution_timing.py 
(#10463)
a8f83ff is described below

commit a8f83fff4d2c20b819c3a46964fcea4cfab8b80e
Author: Kaxil Naik <[email protected]>
AuthorDate: Sat Aug 22 09:58:47 2020 +0100

    Fix typos in scripts/perf/scheduler_dag_execution_timing.py (#10463)
---
 scripts/perf/scheduler_dag_execution_timing.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/perf/scheduler_dag_execution_timing.py 
b/scripts/perf/scheduler_dag_execution_timing.py
index bea1331..ee177a2 100755
--- a/scripts/perf/scheduler_dag_execution_timing.py
+++ b/scripts/perf/scheduler_dag_execution_timing.py
@@ -183,7 +183,7 @@ def create_dag_runs(dag, num_runs, session):
 @click.option('--executor-class', default='MockExecutor',
               help=textwrap.dedent('''
           Dotted path Executor class to test, for example
-          'airflow.executors.local_executor.LocalExecutor'. Defaults to 
MockExcutor which doesn't run tasks.
+          'airflow.executors.local_executor.LocalExecutor'. Defaults to 
MockExecutor which doesn't run tasks.
       '''))
 @click.argument('dag_ids', required=True, nargs=-1)
 def main(num_runs, repeat, pre_create_dag_runs, executor_class, dag_ids):  # 
pylint: disable=too-many-locals
@@ -255,9 +255,9 @@ def main(num_runs, repeat, pre_create_dag_runs, 
executor_class, dag_ids):  # pyl
             if pre_create_dag_runs:
                 create_dag_runs(dag, num_runs, session)
 
-    ShortCircutExecutor = get_executor_under_test(executor_class)
+    ShortCircuitExecutor = get_executor_under_test(executor_class)
 
-    executor = ShortCircutExecutor(dag_ids_to_watch=dag_ids, num_runs=num_runs)
+    executor = ShortCircuitExecutor(dag_ids_to_watch=dag_ids, 
num_runs=num_runs)
     scheduler_job = SchedulerJob(dag_ids=dag_ids, do_pickle=False, 
executor=executor)
     executor.scheduler_job = scheduler_job
 

Reply via email to