mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 12:57:40 -02:30
Expose the new InventoryUpdate.org_host_limit_error field in the API
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user