Organize host events by host id

missed this in the original PR
This commit is contained in:
Jared Tabor 2015-08-17 14:55:18 -07:00
parent ed85df52f0
commit a8a78b3914

View File

@ -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 {