mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
rafthttp: fix the misformat logging line
before: ``` 2015/06/12 20:06:19 rafthttp: dropped MsgApp from %!s(uint64=2) since receiving buffer is full ``` after: ``` 2015/06/12 13:51:38 rafthttp: dropped MsgProp from 2 since receiving buffer is full ```
This commit is contained in:
parent
ea3c7d1d31
commit
bcc1aadea9
@ -360,9 +360,9 @@ func (cr *streamReader) decodeLoop(rc io.ReadCloser, t streamType) error {
|
||||
case recvc <- m:
|
||||
default:
|
||||
if cr.status.isActive() {
|
||||
plog.Warningf("dropped %s from %s since receiving buffer is full", m.Type, m.From)
|
||||
plog.Warningf("dropped %s from %s since receiving buffer is full", m.Type, types.ID(m.From))
|
||||
} else {
|
||||
plog.Debugf("dropped %s from %s since receiving buffer is full", m.Type, m.From)
|
||||
plog.Debugf("dropped %s from %s since receiving buffer is full", m.Type, types.ID(m.From))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user