mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
integration: don't set v3 capability since now default
This commit is contained in:
parent
5da5b834e5
commit
1753623f87
@ -37,7 +37,6 @@ import (
|
||||
"github.com/coreos/etcd/client"
|
||||
"github.com/coreos/etcd/clientv3"
|
||||
"github.com/coreos/etcd/etcdserver"
|
||||
"github.com/coreos/etcd/etcdserver/api"
|
||||
"github.com/coreos/etcd/etcdserver/api/v2http"
|
||||
"github.com/coreos/etcd/etcdserver/api/v3rpc"
|
||||
pb "github.com/coreos/etcd/etcdserver/etcdserverpb"
|
||||
@ -89,11 +88,6 @@ type cluster struct {
|
||||
Members []*member
|
||||
}
|
||||
|
||||
func init() {
|
||||
// manually enable v3 capability since we know the cluster members all support v3.
|
||||
api.EnableCapability(api.V3rpcCapability)
|
||||
}
|
||||
|
||||
func schemeFromTLSInfo(tls *transport.TLSInfo) string {
|
||||
if tls == nil {
|
||||
return UrlScheme
|
||||
|
Loading…
x
Reference in New Issue
Block a user