fix(elog) Metadata implements Loggable

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:
Brian Tiger Chow 2014-11-15 18:40:26 -08:00
parent 55896a86d6
commit 6245f0c67e

View File

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