Fix typo in error message
This commit is contained in:
parent
ccd21755d5
commit
e57cf8c9df
|
@ -416,7 +416,7 @@ func scanFields(buf []byte, i int) (int, []byte, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if quotes != 0 && quotes != 2 {
|
if quotes != 0 && quotes != 2 {
|
||||||
return i, buf[start:i], makeError("unescaped/ublanaced quotes", buf, i)
|
return i, buf[start:i], makeError("unbalanced quotes", buf, i)
|
||||||
}
|
}
|
||||||
|
|
||||||
// check that all field sections had key and values (e.g. prevent "a=1,b"
|
// check that all field sections had key and values (e.g. prevent "a=1,b"
|
||||||
|
|
Loading…
Reference in New Issue