mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
fixing small typo in jobs.py and adding sockets to the
new job results page
This commit is contained in:
parent
5a7c33c17a
commit
777a15f763
@ -132,7 +132,7 @@ export default ['jobResultsService', 'parseStdoutService', '$q', function(jobRes
|
||||
.then(count => {
|
||||
mungedEvent.count = count;
|
||||
mungedEvent.count.failed++;
|
||||
mungedEvent.stdout = event.stdout;
|
||||
mungedEvent.stdout = parseStdoutService.parseStdout(event);
|
||||
mungedEvent.changes = ['count', 'stdout'];
|
||||
});
|
||||
} else if (event.event_name === 'playbook_on_stats') {
|
||||
@ -140,7 +140,7 @@ export default ['jobResultsService', 'parseStdoutService', '$q', function(jobRes
|
||||
// get the data for populating the host status bar
|
||||
mungedEvent.count = jobResultsService
|
||||
.getCountsFromStatsEvent(event.event_data);
|
||||
mungedEvent.stdout = event.stdout;
|
||||
mungedEvent.stdout = parseStdoutService.parseStdout(event);
|
||||
mungedEvent.finishedTime = event.modified;
|
||||
mungedEvent.changes = ['count', 'countFinished', 'finishedTime', 'stdout'];
|
||||
} else {
|
||||
|
@ -15,11 +15,13 @@ export default {
|
||||
parent: 'jobs',
|
||||
label: '{{ job.id }} - {{ job.name }}'
|
||||
},
|
||||
data: {
|
||||
socket: {
|
||||
"groups":{
|
||||
"jobs": ["status_changed", "summary"],
|
||||
"job_events": []
|
||||
}
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
// the GET for the particular job
|
||||
|
Loading…
Reference in New Issue
Block a user