From 43a0a15f6fc20f84128065414e95a4a2ad965463 Mon Sep 17 00:00:00 2001 From: Jeff Bradberry Date: Thu, 7 Feb 2019 16:53:12 -0500 Subject: [PATCH] Expose the new InventoryUpdate.org_host_limit_error field in the API --- awx/api/serializers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/api/serializers.py b/awx/api/serializers.py index bbd2aa8781..8dbb1e273e 100644 --- a/awx/api/serializers.py +++ b/awx/api/serializers.py @@ -2202,8 +2202,8 @@ class InventoryUpdateSerializer(UnifiedJobSerializer, InventorySourceOptionsSeri class Meta: model = InventoryUpdate - fields = ('*', 'inventory', 'inventory_source', 'license_error', 'source_project_update', - 'custom_virtualenv', '-controller_node',) + fields = ('*', 'inventory', 'inventory_source', 'license_error', 'org_host_limit_error', + 'source_project_update', 'custom_virtualenv', '-controller_node',) def get_related(self, obj): res = super(InventoryUpdateSerializer, self).get_related(obj)