Skip to content

Commit

Permalink
Set logger to zap
Browse files Browse the repository at this point in the history
bump travis 2
  • Loading branch information
gdbelvin committed Apr 24, 2020
1 parent 0920a60 commit 0b2bbee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testonly/integration/etcd/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ func tryStartEtcd(dir string) (*embed.Etcd, error) {
cfg.LPUrls = []url.URL{*peerURL} // listen peer URLS
cfg.APUrls = []url.URL{*peerURL} // advertise peer URLS
cfg.InitialCluster = fmt.Sprintf("default=%v", peerURL)
cfg.Logger = "zap"

return embed.StartEtcd(cfg)
}

0 comments on commit 0b2bbee

Please sign in to comment.