Skip to content

Commit 812c608

Browse files
committed
chore(client/v3/naming): deprecate Metadata field in Endpoint struct
resolves: #19706 Signed-off-by: amosehiguese <[email protected]>
1 parent 29e53f5 commit 812c608

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/v3/naming/endpoints/endpoints.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ type Endpoint struct {
1818
// Metadata is the information associated with Addr, which may be used
1919
// to make load balancing decision.
2020
// Since etcd 3.1
21-
Metadata interface{}
21+
//
22+
// Deprecated: The field is deprecated and will be removed in 3.7.
23+
Metadata any
2224
}
2325

2426
type Operation uint8

0 commit comments

Comments
 (0)