rafthttp: becomes -> became in log line

Simple grammar fix.
This commit is contained in:
Brandon Philips 2015-02-04 21:28:23 -08:00
parent 38038e476a
commit a4c4027dc7

View File

@ -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
} }