From 1753623f87b6f5439d70a3c18222336bdd34f0ed Mon Sep 17 00:00:00 2001 From: Anthony Romano Date: Thu, 2 Mar 2017 13:17:19 -0800 Subject: [PATCH] integration: don't set v3 capability since now default --- integration/cluster.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/integration/cluster.go b/integration/cluster.go index a64f024eefd..72d51a1fe03 100644 --- a/integration/cluster.go +++ b/integration/cluster.go @@ -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