Skip to content
Snippets Groups Projects
Commit bedf215e authored by ko_oler's avatar ko_oler
Browse files

fix

parent c757a750
No related branches found
No related tags found
No related merge requests found
...@@ -85,9 +85,6 @@ func EntryFromPB(request *pb.LogEntry) *Entry { ...@@ -85,9 +85,6 @@ func EntryFromPB(request *pb.LogEntry) *Entry {
func (e *Entry) ToMap() map[string]interface{} { func (e *Entry) ToMap() map[string]interface{} {
res := make(map[string]interface{}) res := make(map[string]interface{})
err := mapstructure.Decode(e, &res) _ = mapstructure.Decode(e, &res)
if err != nil {
return nil
}
return res return res
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment