mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
rafthttp: becomes -> became in log line
Simple grammar fix.
This commit is contained in:
parent
38038e476a
commit
a4c4027dc7
@ -196,7 +196,7 @@ func (p *peer) handle() {
|
|||||||
p.errored = err
|
p.errored = err
|
||||||
}
|
}
|
||||||
if p.active {
|
if p.active {
|
||||||
log.Printf("sender: the connection with %s becomes inactive", p.id)
|
log.Printf("sender: the connection with %s became inactive", p.id)
|
||||||
p.active = false
|
p.active = false
|
||||||
}
|
}
|
||||||
if m.Type == raftpb.MsgApp {
|
if m.Type == raftpb.MsgApp {
|
||||||
@ -204,7 +204,7 @@ func (p *peer) handle() {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if !p.active {
|
if !p.active {
|
||||||
log.Printf("sender: the connection with %s becomes active", p.id)
|
log.Printf("sender: the connection with %s became active", p.id)
|
||||||
p.active = true
|
p.active = true
|
||||||
p.errored = nil
|
p.errored = nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user