notifier: return nil is better. (#5958)

Signed-off-by: johncming <johncming@yahoo.com>
This commit is contained in:
johncming 2019-09-06 18:38:47 +08:00 committed by Simon Pasquier
parent 1e51ba4d30
commit a5a4214f31

View file

@ -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.