You've already forked postgres_exporter
mirror of
https://github.com/prometheus-community/postgres_exporter.git
synced 2025-07-30 09:43:10 +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:
@ -18,7 +18,7 @@ import (
|
||||
)
|
||||
|
||||
func TestLoadConfig(t *testing.T) {
|
||||
ch := &ConfigHandler{
|
||||
ch := &Handler{
|
||||
Config: &Config{},
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ func TestLoadConfig(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestLoadBadConfigs(t *testing.T) {
|
||||
ch := &ConfigHandler{
|
||||
ch := &Handler{
|
||||
Config: &Config{},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user