mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 11:50:42 -03:30
Organize host events by host id
missed this in the original PR
This commit is contained in:
parent
ed85df52f0
commit
a8a78b3914
@ -3,7 +3,7 @@
|
||||
*
|
||||
* All Rights Reserved
|
||||
*************************************************/
|
||||
|
||||
|
||||
/**
|
||||
* @ngdoc function
|
||||
* @name helpers.function:JobDetail
|
||||
@ -503,7 +503,7 @@ export default
|
||||
scope.jobData.hostSummaries[host_id].unreachable += (status === 'unreachable') ? 1 : 0;
|
||||
scope.jobData.hostSummaries[host_id].failed += (status === 'failed') ? 1 : 0;
|
||||
if (status === 'failed' || status === 'unreachable') {
|
||||
scope.jobData.hostSummaries[name].status = 'failed';
|
||||
scope.jobData.hostSummaries[host_id].status = 'failed';
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user