mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 10:27:37 -02:30
Organize host events by host id
missed this in the original PR
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* All Rights Reserved
|
* All Rights Reserved
|
||||||
*************************************************/
|
*************************************************/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ngdoc function
|
* @ngdoc function
|
||||||
* @name helpers.function:JobDetail
|
* @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].unreachable += (status === 'unreachable') ? 1 : 0;
|
||||||
scope.jobData.hostSummaries[host_id].failed += (status === 'failed') ? 1 : 0;
|
scope.jobData.hostSummaries[host_id].failed += (status === 'failed') ? 1 : 0;
|
||||||
if (status === 'failed' || status === 'unreachable') {
|
if (status === 'failed' || status === 'unreachable') {
|
||||||
scope.jobData.hostSummaries[name].status = 'failed';
|
scope.jobData.hostSummaries[host_id].status = 'failed';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user