fix issue with var rename

This commit is contained in:
JP 2015-08-06 11:49:02 -05:00
parent 72652ff16e
commit 7ed19de44e
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ func LoadConfig(path string) (*Config, error) {
for outputName, outputVal := range subtbl.Fields {
outputSubtbl, ok := outputVal.(*ast.Table)
if !ok {
return nil, ErrInvalidConfig
return nil, errInvalidConfig
}
c.outputs[outputName] = outputSubtbl
}