mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 01:38:50 -03:30
update node_type to be read-only
This commit is contained in:
@@ -4776,7 +4776,7 @@ class InstanceSerializer(BaseSerializer):
|
||||
|
||||
class Meta:
|
||||
model = Instance
|
||||
read_only_fields = ('uuid', 'hostname', 'version')
|
||||
read_only_fields = ('uuid', 'hostname', 'version', 'node_type')
|
||||
fields = (
|
||||
"id",
|
||||
"type",
|
||||
|
||||
Reference in New Issue
Block a user