From 2255ee5dbaf24819a0c6aee5a0b238dd8dac7bb8 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Wed, 16 May 2018 17:32:40 -0400 Subject: [PATCH] don't reset counters on job start --- awx/ui/client/features/output/index.controller.js | 1 - awx/ui/client/features/output/status.service.js | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/awx/ui/client/features/output/index.controller.js b/awx/ui/client/features/output/index.controller.js index a6761238c4..935d0a7c79 100644 --- a/awx/ui/client/features/output/index.controller.js +++ b/awx/ui/client/features/output/index.controller.js @@ -87,7 +87,6 @@ function init () { return shift().then(() => append(events, true)); }, onStart () { - status.resetCounts(); status.setJobStatus('running'); }, onStop () { diff --git a/awx/ui/client/features/output/status.service.js b/awx/ui/client/features/output/status.service.js index a4e60c6822..29558c70df 100644 --- a/awx/ui/client/features/output/status.service.js +++ b/awx/ui/client/features/output/status.service.js @@ -26,9 +26,9 @@ function JobStatusService (moment, message) { running: false, stats: false, counts: { - plays: null, - tasks: null, - hosts: null, + plays: 0, + tasks: 0, + hosts: 0, }, hosts: {}, status: model.get('status'),