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