tools/etcd-dump-logs: pass zap logger to raftsnap
@@ -68,7 +68,7 @@ func main() {
ss := raftsnap.New(zap.NewExample(), snapDir(dataDir))
snapshot, err = ss.Load()
} else {
- snapshot, err = raftsnap.Read(filepath.Join(snapDir(dataDir), *snapfile))
+ snapshot, err = raftsnap.Read(zap.NewExample(), filepath.Join(snapDir(dataDir), *snapfile))
}
switch err {
