main: log hex of id

This commit is contained in:
Blake Mizerany 2014-09-02 20:13:18 -07:00 committed by Yicheng Qin
parent 576e26ea39
commit cf91035a36

View File

@ -35,7 +35,7 @@ func main() {
}
if peers.Pick(id) == "" {
log.Fatalf("%d=<addr> must be specified in peers", id)
log.Fatalf("%#x=<addr> must be specified in peers", id)
}
n := raft.Start(id, peers.Ids(), 10, 1)