mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-16 02:54:37 +00:00
1219541184
Errcheck [1] enforces error handling accross all go files. Functions can be excluded via `scripts/errcheck_excludes.txt`. This patch adds errcheck to the `test` Make target. [1] https://github.com/kisielk/errcheck Signed-off-by: Max Leonard Inden <IndenML@gmail.com>
9 lines
288 B
Plaintext
9 lines
288 B
Plaintext
(io.Closer).Close
|
|
(*os.File).Close
|
|
fmt.Fprintf
|
|
fmt.Fprintln
|
|
|
|
(github.com/prometheus/alertmanager/vendor/github.com/go-kit/kit/log.Logger).Log
|
|
// Allowed log levels are enforced via kingpin
|
|
(*github.com/prometheus/alertmanager/vendor/github.com/prometheus/common/promlog.AllowedLevel).Set
|