Skip to content

Commit 104e245

Browse files
authored
Merge pull request #19846 from amosehiguese/release-3.5-fix
[release 3.5] Backport Deprecated Metadata field in Endpoint struct
2 parents 29e53f5 + 812c608 commit 104e245

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)