mirror of
https://github.com/ansible/awx.git
synced 2026-04-06 18:49:21 -02:30
Show IG name on job results if it comes from the socket
for "waiting" messages
This commit is contained in:
@@ -694,6 +694,12 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
|||||||
parseInt($scope.job.id,10)) {
|
parseInt($scope.job.id,10)) {
|
||||||
// controller is defined, so set the job_status
|
// controller is defined, so set the job_status
|
||||||
$scope.job_status = data.status;
|
$scope.job_status = data.status;
|
||||||
|
if(_.has(data, 'instance_group_name')){
|
||||||
|
$scope.job.instance_group = true;
|
||||||
|
$scope.job.summary_fields.instance_group = {
|
||||||
|
"name": data.instance_group_name
|
||||||
|
};
|
||||||
|
}
|
||||||
if (data.status === "running") {
|
if (data.status === "running") {
|
||||||
if (!runTimeElapsedTimer) {
|
if (!runTimeElapsedTimer) {
|
||||||
runTimeElapsedTimer = workflowResultsService.createOneSecondTimer(moment(), updateJobElapsedTimer);
|
runTimeElapsedTimer = workflowResultsService.createOneSecondTimer(moment(), updateJobElapsedTimer);
|
||||||
|
|||||||
Reference in New Issue
Block a user