From 29adb39caec5da1473f05ae4a7d66d8d873bfb87 Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Fri, 30 Jun 2017 13:52:41 -0400 Subject: [PATCH] add insights_cred_id to host->inventory summary fields --- 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 bd481f20e3..8b39357843 100644 --- a/awx/api/serializers.py +++ b/awx/api/serializers.py @@ -76,7 +76,8 @@ SUMMARIZABLE_FK_FIELDS = { 'total_inventory_sources', 'inventory_sources_with_failures', 'organization_id', - 'kind'), + 'kind', + 'insights_credential_id',), 'host': DEFAULT_SUMMARY_FIELDS + ('has_active_failures', 'has_inventory_sources'), 'group': DEFAULT_SUMMARY_FIELDS + ('has_active_failures',