perf: k8s tree error msg (#9472)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2023-02-08 20:14:33 +08:00
committed by GitHub
parent ab76d8cce0
commit e3d1474b9b
2 changed files with 14 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ class ConnectionTokenSerializer(OrgResourceModelSerializerMixin):
label=_("Input secret"), max_length=40960, required=False, allow_blank=True
)
from_ticket_info = serializers.SerializerMethodField(label=_("Ticket info"))
actions = ActionChoicesField()
actions = ActionChoicesField(read_only=True, label=_("Actions"))
class Meta:
model = ConnectionToken