Skip to content

Commit

Permalink
discoveryserver: fixup for new etcd embed
Browse files Browse the repository at this point in the history
Remove no longer exported field SnapCount
  • Loading branch information
Brandon Philips committed Apr 11, 2019
1 parent c50058c commit afda038
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion discoveryserver/integration/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit afda038

Please sign in to comment.