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:
commit
8f1c15e20d
@ -87,7 +87,6 @@ function init () {
|
||||
return shift().then(() => append(events, true));
|
||||
},
|
||||
onStart () {
|
||||
status.resetCounts();
|
||||
status.setJobStatus('running');
|
||||
},
|
||||
onStop () {
|
||||
|
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user