1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-08-09 15:42:47 +03:00

Update linting

* Move errcheck exclude list to config file.
* Enable revive linter
* Fix up revive linting issues.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
SuperQ
2023-06-03 09:28:17 +02:00
parent 6e671f2d82
commit fab8e625a8
6 changed files with 22 additions and 18 deletions

View File

@@ -34,7 +34,7 @@ import (
)
var (
c = config.ConfigHandler{
c = config.Handler{
Config: &config.Config{},
}