mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-18 10:46:35 +00:00
chore: enable more linter (#1557)
This commit is contained in:
@@ -7,8 +7,10 @@ import (
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
||||
// Unmarshal good configuration file and confirm data is flattened correctly
|
||||
// Unmarshal good configuration file and confirm data is flattened correctly.
|
||||
func TestConfigFlattening(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
goodYamlConfig := []byte(`---
|
||||
|
||||
collectors:
|
||||
|
||||
Reference in New Issue
Block a user