From 812c608d023eb51d70127dac8ec98fed3172c8a5 Mon Sep 17 00:00:00 2001 From: amosehiguese Date: Tue, 29 Apr 2025 14:54:03 +0000 Subject: [PATCH] chore(client/v3/naming): deprecate Metadata field in Endpoint struct resolves: #19706 Signed-off-by: amosehiguese --- client/v3/naming/endpoints/endpoints.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/v3/naming/endpoints/endpoints.go b/client/v3/naming/endpoints/endpoints.go index 72bd2278749..9e975259dd0 100644 --- a/client/v3/naming/endpoints/endpoints.go +++ b/client/v3/naming/endpoints/endpoints.go @@ -18,7 +18,9 @@ type Endpoint struct { // Metadata is the information associated with Addr, which may be used // to make load balancing decision. // Since etcd 3.1 - Metadata interface{} + // + // Deprecated: The field is deprecated and will be removed in 3.7. + Metadata any } type Operation uint8