mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
main: log hex of id
This commit is contained in:
parent
576e26ea39
commit
cf91035a36
2
main.go
2
main.go
@ -35,7 +35,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if peers.Pick(id) == "" {
|
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)
|
n := raft.Start(id, peers.Ids(), 10, 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user