mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 18:37:36 -02:30
Organize host events by host id
missed this in the original PR
This commit is contained in:
@@ -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