airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-2087] Scheduler Report shows incorrect Total task number
Date Sun, 25 Feb 2018 11:14:11 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master ad308ea44 -> d7b5d09d4


[AIRFLOW-2087] Scheduler Report shows incorrect Total task number

Closes #3074 from feng-tao/airflow-2087


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/d7b5d09d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/d7b5d09d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/d7b5d09d

Branch: refs/heads/master
Commit: d7b5d09d4709dd090ceff2985dd05976203a9ad3
Parents: ad308ea
Author: Tao feng <tfeng@lyft.com>
Authored: Sun Feb 25 12:13:57 2018 +0100
Committer: Bolke de Bruin <bolke@xs4all.nl>
Committed: Sun Feb 25 12:13:57 2018 +0100

----------------------------------------------------------------------
 airflow/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/d7b5d09d/airflow/models.py
----------------------------------------------------------------------
diff --git a/airflow/models.py b/airflow/models.py
index e436974..b318ea6 100755
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -476,7 +476,7 @@ class DagBag(BaseDagBag, LoggingMixin):
             dag_folder=self.dag_folder,
             duration=sum([o.duration for o in stats]),
             dag_num=sum([o.dag_num for o in stats]),
-            task_num=sum([o.dag_num for o in stats]),
+            task_num=sum([o.task_num for o in stats]),
             table=pprinttable(stats),
         )
 


Mime
View raw message