Skip to content

Commit bafb4d9

Browse files
gordallottlukasmalkmus
authored andcommitted
lint changes
1 parent def029e commit bafb4d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proxy/proxy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func init() {
3131

3232
// type check on axiom.Event incase it's ever not a map[string]interface{}
3333
// so we can use unsafe.Pointer for a quick type conversion instead of allocating a new slice
34-
if reflect.TypeOf(axiom.Event{}).ConvertibleTo(reflect.TypeOf(map[string]interface{}{})) == false {
34+
if !reflect.TypeOf(axiom.Event{}).ConvertibleTo(reflect.TypeOf(map[string]interface{}{})) {
3535
panic("axiom.Event is not a map[string]interface{}, please contact support")
3636
}
3737
}
@@ -110,7 +110,7 @@ func (m *Multiplexer) multiplex(req *http.Request) error {
110110
if err != nil {
111111
return err
112112
}
113-
m.sendEvents(req.Context(), dataset, events...)
113+
return m.sendEvents(req.Context(), dataset, events...)
114114
}
115115
return nil
116116
}

0 commit comments

Comments
 (0)