Skip to content

Commit f9bc65b

Browse files
switch the unmarshalling type to map[string]any to match Viper config code
1 parent 01810e3 commit f9bc65b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/commands/diagnose/configcheck.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type ConfigTestResult struct {
1616
}
1717

1818
func validateYaml(yamlContent []byte) error {
19-
m := make(map[any]any)
19+
m := make(map[string]any)
2020
return yaml.Unmarshal(yamlContent, &m)
2121
}
2222

0 commit comments

Comments
 (0)