mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
notifier: return nil is better. (#5958)
Signed-off-by: johncming <johncming@yahoo.com>
This commit is contained in:
parent
1e51ba4d30
commit
a5a4214f31
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue