don't reset counters on job start

This commit is contained in:
Jake McDermott 2018-05-16 17:32:40 -04:00
parent ae8fe207d4
commit 2255ee5dba
No known key found for this signature in database
GPG Key ID: 3B02CAD476EECB35
2 changed files with 3 additions and 4 deletions

View File

@ -87,7 +87,6 @@ function init () {
return shift().then(() => append(events, true));
},
onStart () {
status.resetCounts();
status.setJobStatus('running');
},
onStop () {

View File

@ -26,9 +26,9 @@ function JobStatusService (moment, message) {
running: false,
stats: false,
counts: {
plays: null,
tasks: null,
hosts: null,
plays: 0,
tasks: 0,
hosts: 0,
},
hosts: {},
status: model.get('status'),