Skip to content

Commit

Permalink
mozzle: Closing conn to riemann can not fail ATM
Browse files Browse the repository at this point in the history
It depends on amir/raidman#17. Once it is
merged, this could be fixed.
  • Loading branch information
Bo0mer committed Jan 22, 2017
1 parent 509051e commit 73268b0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion riemann.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ func (r *riemann) Connect() error {
}

func (r *riemann) Close() error {
return r.client.Close()
// TODO(ivan): Switch to return r.client.Close() once (and if)
// https://github.com/amir/raidman/pull/17 gets merged.
r.client.Close()
return nil
}

func (r *riemann) SendEvent(e *raidman.Event) error {
Expand Down

0 comments on commit 73268b0

Please sign in to comment.