mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: log member ID as hex string
This commit is contained in:
parent
f7631be453
commit
e99da41539
@ -58,7 +58,7 @@ func send(c *http.Client, cl *Cluster, m raftpb.Message, ss *stats.ServerStats,
|
||||
// TODO: unknown peer id.. what do we do? I
|
||||
// don't think his should ever happen, need to
|
||||
// look into this further.
|
||||
log.Printf("etcdhttp: no member for %d", m.To)
|
||||
log.Printf("etcdhttp: no member for %s", strutil.IDAsHex(m.To))
|
||||
return
|
||||
}
|
||||
u := fmt.Sprintf("%s%s", memb.PickPeerURL(), raftPrefix)
|
||||
|
Loading…
x
Reference in New Issue
Block a user