1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

Merge pull request #1820 from jakemcdermott/job-results/fix-counters

don't reset counters on job start
This commit is contained in:
Jake McDermott 2018-05-16 18:46:27 -04:00 committed by GitHub
commit 8f1c15e20d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'),