integration: don't set v3 capability since now default
@@ -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
