Skip to content

Commit

Permalink
Merge pull request #265 from guangyun1013/master
Browse files Browse the repository at this point in the history
Fix bug:The statistic miss daemon job's success count.
  • Loading branch information
haocao authored Apr 7, 2017
2 parents 8037c48 + d596ac9 commit 63efd36
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public void statusUpdate(final SchedulerDriver schedulerDriver, final Protos.Tas
facadeService.updateDaemonStatus(taskContext, false);
} else if ("COMPLETE".equals(taskStatus.getMessage())) {
facadeService.updateDaemonStatus(taskContext, true);
statisticManager.taskRunSuccessfully();
}
break;
case TASK_FINISHED:
Expand Down

0 comments on commit 63efd36

Please sign in to comment.