From f1da63da44ee99990234b8c77024a510d23d6258 Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Tue, 21 Mar 2023 09:37:57 -0600 Subject: [PATCH] fix(config): Return error on order set as string (#12880) --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/config.go b/config/config.go index 516375b42..e67695d94 100644 --- a/config/config.go +++ b/config/config.go @@ -1611,6 +1611,8 @@ func (c *Config) getFieldInt64(tbl *ast.Table, fieldName string, target *int64) return } *target = i + } else { + c.addError(tbl, fmt.Errorf("found unexpected format while parsing %q, expecting int", fieldName)) } } }