Commit cf82427848852d69d01048796945f05a6925d28d
1 parent
88ff1b6d
Exists in
master
Fix number_of_taskruns function
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
corretor.py
@@ -63,7 +63,7 @@ class Corretor: | @@ -63,7 +63,7 @@ class Corretor: | ||
63 | return tasks[0] if len(tasks) > 0 else None | 63 | return tasks[0] if len(tasks) > 0 else None |
64 | 64 | ||
65 | def __find_taskruns(self, project_id, task_id): | 65 | def __find_taskruns(self, project_id, task_id): |
66 | - return pbclient.find_taskruns(project_id, id=task_id) | 66 | + return pbclient.find_taskruns(project_id, task_id=task_id) |
67 | 67 | ||
68 | def __number_of_taskruns(self, project_id, task_id): | 68 | def __number_of_taskruns(self, project_id, task_id): |
69 | taskruns = self.__find_taskruns(project_id, task_id) | 69 | taskruns = self.__find_taskruns(project_id, task_id) |