mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 12:41:19 -03: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:
parent
e4ffdeb0b5
commit
298af25bab
@ -26,7 +26,7 @@ function HostEventsController (
|
||||
$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 === '') {
|
||||
$scope.stdout = ' ';
|
||||
} 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 === '') {
|
||||
$scope.stderr = ' ';
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user