From f11b73da1248298af6db03f6524a4faa109ded26 Mon Sep 17 00:00:00 2001 From: Rebeccah Date: Mon, 26 Jul 2021 16:09:23 -0400 Subject: [PATCH] update node_type to be read-only --- awx/api/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/api/serializers.py b/awx/api/serializers.py index 174ac60f60..be4d5581e2 100644 --- a/awx/api/serializers.py +++ b/awx/api/serializers.py @@ -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",