From 15230315ab96627db5a087a51bfc9bea98afca80 Mon Sep 17 00:00:00 2001 From: GitHub Date: Mon, 3 Mar 2025 03:08:28 +0000 Subject: [PATCH] chore(update): bump openapi schema (2025-03-03) --- handler/service/service.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/handler/service/service.go b/handler/service/service.go index 59ec9e4..01ff31e 100644 --- a/handler/service/service.go +++ b/handler/service/service.go @@ -1505,11 +1505,12 @@ type MysqlParamOut struct { User string `json:"user"` } type NodeStateOut struct { - Name string `json:"name"` // Name of the service node - ProgressUpdates []ProgressUpdateOut `json:"progress_updates,omitempty"` // Extra information regarding the progress for current state - Role RoleType `json:"role,omitempty"` // Role of this node. Only returned for a subset of service types - Shard *ShardOut `json:"shard,omitempty"` // Shard of this node. Only returned for a subset of service types - State NodeStateType `json:"state"` // Current state of the service node + AvailabilityZone string `json:"availability_zone"` // The availability zone in which the node is place. If there is no availability zone available this field will be missing. + Name string `json:"name"` // Name of the service node + ProgressUpdates []ProgressUpdateOut `json:"progress_updates,omitempty"` // Extra information regarding the progress for current state + Role RoleType `json:"role,omitempty"` // Role of this node. Only returned for a subset of service types + Shard *ShardOut `json:"shard,omitempty"` // Shard of this node. Only returned for a subset of service types + State NodeStateType `json:"state"` // Current state of the service node } type NodeStateType string