提交 6245f0c6 作者: Brian Tiger Chow

fix(elog) Metadata implements Loggable

License: MIT
Signed-off-by: 's avatarBrian Tiger Chow <brian@perfmode.com>
上级 55896a86
......@@ -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
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论