From 1c858e7548ffe77d503c292a33ec04d7cffb0cce Mon Sep 17 00:00:00 2001 From: Ivan Borshukov Date: Sun, 16 Apr 2017 10:10:50 +0300 Subject: [PATCH] mozzle: Propagate riemann.Close's return error --- riemann.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/riemann.go b/riemann.go index 851e700..fab1199 100644 --- a/riemann.go +++ b/riemann.go @@ -120,10 +120,7 @@ func (r *riemann) Connect() error { } func (r *riemann) Close() error { - // 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 + return r.client.Close() } func (r *riemann) SendEvent(e *raidman.Event) error {