@cryptotaxi247 / kubo / commits / 6245f0c67

fix(elog) Metadata implements Loggable

License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

Brian Tiger Chow committed Nov 15, 2014 at 18:40 UTC 6245f0c67ee5c0cfbdc8d98445fd4e4a8498befb
1 file changed +1 -1
util/elog/metadata.go
+1 -1
@@ -62,7 +62,7 @@ func DeepMerge(b, a Metadata) Metadata {
62 }
63
64 // Loggable implements the Loggable interface
65 -func (m Metadata) Loggable() Metadata {
65 +func (m Metadata) Loggable() map[string]interface{} {
66 // NB: method defined on value to avoid de-referencing nil Metadata
67 return m
68 }