mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-18 06:08:10 -07:00
(tested) rollback to separate v4 and v6 keys in redis/keydb
* sanitize log fields * remove miniredis dependency * store/collect information about hybrid (v2to1) hashes
This commit is contained in:
@@ -275,8 +275,8 @@ func (p Peer) RawString() string {
|
||||
// LogFields renders the current peer as a set of Logrus fields.
|
||||
func (p Peer) LogFields() log.Fields {
|
||||
return log.Fields{
|
||||
"ID": p.ID,
|
||||
"IP": p.Addr(),
|
||||
"id": p.ID,
|
||||
"ip": p.Addr(),
|
||||
"port": p.Port(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user