fix(config): Return error on order set as string (#12880)
This commit is contained in:
parent
e4cf2904ca
commit
f1da63da44
|
|
@ -1611,6 +1611,8 @@ func (c *Config) getFieldInt64(tbl *ast.Table, fieldName string, target *int64)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
*target = i
|
*target = i
|
||||||
|
} else {
|
||||||
|
c.addError(tbl, fmt.Errorf("found unexpected format while parsing %q, expecting int", fieldName))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue