mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 16:58:46 -03:30
allow insights_system_id to be set to null via api
This commit is contained in:
@@ -1174,6 +1174,7 @@ class InventoryScriptSerializer(InventorySerializer):
|
||||
|
||||
class HostSerializer(BaseSerializerWithVariables):
|
||||
show_capabilities = ['edit', 'delete']
|
||||
insights_system_id = serializers.CharField(allow_blank=True, allow_null=True, required=False, default=None)
|
||||
|
||||
class Meta:
|
||||
model = Host
|
||||
|
||||
Reference in New Issue
Block a user