mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-07 06:37:17 +02: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 errors.Errorf("bad response status %s", resp.Status)
|
||||||
}
|
}
|
||||||
|
|
||||||
return err
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Stop shuts down the notification handler.
|
// Stop shuts down the notification handler.
|
||||||
|
Loading…
Reference in New Issue
Block a user