mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 02:47:48 +08:00
fix(elog) Metadata implements Loggable
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:
parent
55896a86d6
commit
6245f0c67e
@ -62,7 +62,7 @@ func DeepMerge(b, a Metadata) Metadata {
|
||||
}
|
||||
|
||||
// Loggable implements the Loggable interface
|
||||
func (m Metadata) Loggable() Metadata {
|
||||
func (m Metadata) Loggable() map[string]interface{} {
|
||||
// NB: method defined on value to avoid de-referencing nil Metadata
|
||||
return m
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user