Update scripts/errcheck_excludes.txt
With Go modules, the path appears un-vendored. Plus, we are not calling AllowedLevel.Set anywhere anymore. Signed-off-by: beorn7 <beorn@soundcloud.com>
This commit is contained in:
parent
a25d748da3
commit
c70e97c9ed
|
@ -3,8 +3,8 @@
|
||||||
fmt.Fprintf
|
fmt.Fprintf
|
||||||
fmt.Fprintln
|
fmt.Fprintln
|
||||||
|
|
||||||
|
// Exclude both vendored and un-vendored to cover both vendor mode and module mode.
|
||||||
(github.com/prometheus/alertmanager/vendor/github.com/go-kit/kit/log.Logger).Log
|
(github.com/prometheus/alertmanager/vendor/github.com/go-kit/kit/log.Logger).Log
|
||||||
// Allowed log levels are enforced via kingpin
|
(github.com/go-kit/kit/log.Logger).Log
|
||||||
(*github.com/prometheus/alertmanager/vendor/github.com/prometheus/common/promlog.AllowedLevel).Set
|
|
||||||
// Generated via go-swagger
|
// Generated via go-swagger
|
||||||
(*github.com/prometheus/alertmanager/api/v2/restapi.Server).Shutdown
|
(*github.com/prometheus/alertmanager/api/v2/restapi.Server).Shutdown
|
||||||
|
|
Loading…
Reference in New Issue