From eb6e598f6cb1277945dd92203bc79a1a706a66ed Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Thu, 1 Jun 2017 08:47:21 -0400 Subject: [PATCH] add insights_credential to summary fields on inventory --- awx/api/serializers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/api/serializers.py b/awx/api/serializers.py index 71a483a64f..ee0b9edb94 100644 --- a/awx/api/serializers.py +++ b/awx/api/serializers.py @@ -105,7 +105,8 @@ SUMMARIZABLE_FK_FIELDS = { 'source_script': ('name', 'description'), 'role': ('id', 'role_field'), 'notification_template': DEFAULT_SUMMARY_FIELDS, - 'instance_group': {'id', 'name'} + 'instance_group': {'id', 'name'}, + 'insights_credential': DEFAULT_SUMMARY_FIELDS, }