mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 04:47:44 -02:30
Points the host event modal's Standard Out tab at event_data.res.stdout
instead of `event_data.res.results.stdout`. Same for stderr. This was some stale copy pasta from the host event modal rework
This commit is contained in:
@@ -26,7 +26,7 @@ function HostEventsController (
|
|||||||
$scope.module_name = 'No result found';
|
$scope.module_name = 'No result found';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_.has(hostEvent.event_data, 'res.result.stdout')) {
|
if (_.has(hostEvent.event_data, 'res.stdout')) {
|
||||||
if (hostEvent.event_data.res.stdout === '') {
|
if (hostEvent.event_data.res.stdout === '') {
|
||||||
$scope.stdout = ' ';
|
$scope.stdout = ' ';
|
||||||
} else {
|
} else {
|
||||||
@@ -34,7 +34,7 @@ function HostEventsController (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_.has(hostEvent.event_data, 'res.result.stderr')) {
|
if (_.has(hostEvent.event_data, 'res.stderr')) {
|
||||||
if (hostEvent.event_data.res.stderr === '') {
|
if (hostEvent.event_data.res.stderr === '') {
|
||||||
$scope.stderr = ' ';
|
$scope.stderr = ' ';
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user