From a5a4214f312791e45069a6ee28834f4c5fd34924 Mon Sep 17 00:00:00 2001 From: johncming Date: Fri, 6 Sep 2019 18:38:47 +0800 Subject: [PATCH] notifier: return nil is better. (#5958) Signed-off-by: johncming --- notifier/notifier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifier/notifier.go b/notifier/notifier.go index 9540cdce6..640ce4c59 100644 --- a/notifier/notifier.go +++ b/notifier/notifier.go @@ -594,7 +594,7 @@ func (n *Manager) sendOne(ctx context.Context, c *http.Client, url string, b []b return errors.Errorf("bad response status %s", resp.Status) } - return err + return nil } // Stop shuts down the notification handler.