From afda0388c232f839520c1bf6a52e7d2be3cafd07 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Thu, 11 Apr 2019 21:23:48 +0000 Subject: [PATCH] discoveryserver: fixup for new etcd embed Remove no longer exported field SnapCount --- discoveryserver/integration/server.go | 1 - 1 file changed, 1 deletion(-) diff --git a/discoveryserver/integration/server.go b/discoveryserver/integration/server.go index d1a290219bfc..7b146be576cb 100644 --- a/discoveryserver/integration/server.go +++ b/discoveryserver/integration/server.go @@ -49,7 +49,6 @@ func NewService(t *testing.T, etcdClientPort, etcdPeerPort, httpPort int) *Servi purl := url.URL{Scheme: "http", Host: fmt.Sprintf("localhost:%d", etcdPeerPort)} cfg.APUrls, cfg.LPUrls = []url.URL{purl}, []url.URL{purl} cfg.InitialCluster = fmt.Sprintf("%s=%s", cfg.Name, cfg.APUrls[0].String()) - cfg.SnapCount = 1000 // single-node, keep minimum snapshot // TODO: enable this with etcd v3.3+ // cfg.AutoCompactionMode = compactor.ModePeriodic