From ec9065bc2f45d5c0022b6aeffa6a6bc4cb96ac57 Mon Sep 17 00:00:00 2001 From: Michael Abashian Date: Tue, 13 Dec 2016 16:55:03 -0500 Subject: [PATCH] Added elapsed to the job default summary fields and removed started/finished --- awx/api/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/api/serializers.py b/awx/api/serializers.py index 66c963650e..f6f7a3aae3 100644 --- a/awx/api/serializers.py +++ b/awx/api/serializers.py @@ -81,7 +81,7 @@ SUMMARIZABLE_FK_FIELDS = { 'credential': DEFAULT_SUMMARY_FIELDS + ('kind', 'cloud'), 'cloud_credential': DEFAULT_SUMMARY_FIELDS + ('kind', 'cloud'), 'network_credential': DEFAULT_SUMMARY_FIELDS + ('kind', 'net'), - 'job': DEFAULT_SUMMARY_FIELDS + ('status', 'failed', 'started', 'finished'), + 'job': DEFAULT_SUMMARY_FIELDS + ('status', 'failed', 'elapsed'), 'job_template': DEFAULT_SUMMARY_FIELDS, 'schedule': DEFAULT_SUMMARY_FIELDS + ('next_run',), 'unified_job_template': DEFAULT_SUMMARY_FIELDS + ('unified_job_type',),