Use any instead of interface{}
Signed-off-by: chenyahui <cyhone@qq.com>
This commit is contained in:
@ -32,7 +32,7 @@ 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{}
|
||||
Metadata any
|
||||
}
|
||||
|
||||
type Operation uint8
|
||||
|
Reference in New Issue
Block a user