mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Expose the new InventoryUpdate.org_host_limit_error field in the API
This commit is contained in:
parent
36ed890c14
commit
43a0a15f6f
@ -2202,8 +2202,8 @@ class InventoryUpdateSerializer(UnifiedJobSerializer, InventorySourceOptionsSeri
|
|||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = InventoryUpdate
|
model = InventoryUpdate
|
||||||
fields = ('*', 'inventory', 'inventory_source', 'license_error', 'source_project_update',
|
fields = ('*', 'inventory', 'inventory_source', 'license_error', 'org_host_limit_error',
|
||||||
'custom_virtualenv', '-controller_node',)
|
'source_project_update', 'custom_virtualenv', '-controller_node',)
|
||||||
|
|
||||||
def get_related(self, obj):
|
def get_related(self, obj):
|
||||||
res = super(InventoryUpdateSerializer, self).get_related(obj)
|
res = super(InventoryUpdateSerializer, self).get_related(obj)
|
||||||
|
Loading…
Reference in New Issue
Block a user