mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #1450 from bcwaldon/raft-logging
raft: stop logging IDs with 0x prefix
This commit is contained in:
commit
b6b5081254
@ -219,7 +219,7 @@ func (n *node) run(r *raft) {
|
||||
}
|
||||
|
||||
if rd.SoftState != nil && lead != rd.SoftState.Lead {
|
||||
log.Printf("raft: leader changed from %#x to %#x", lead, rd.SoftState.Lead)
|
||||
log.Printf("raft: leader changed from %x to %x", lead, rd.SoftState.Lead)
|
||||
lead = rd.SoftState.Lead
|
||||
if r.hasLeader() {
|
||||
propc = n.propc
|
||||
|
Loading…
x
Reference in New Issue
Block a user