fix issue with var rename
This commit is contained in:
parent
72652ff16e
commit
7ed19de44e
|
@ -217,7 +217,7 @@ func LoadConfig(path string) (*Config, error) {
|
||||||
for outputName, outputVal := range subtbl.Fields {
|
for outputName, outputVal := range subtbl.Fields {
|
||||||
outputSubtbl, ok := outputVal.(*ast.Table)
|
outputSubtbl, ok := outputVal.(*ast.Table)
|
||||||
if !ok {
|
if !ok {
|
||||||
return nil, ErrInvalidConfig
|
return nil, errInvalidConfig
|
||||||
}
|
}
|
||||||
c.outputs[outputName] = outputSubtbl
|
c.outputs[outputName] = outputSubtbl
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue