From 7151116016ebdf6e35642edbffa30be55d25ad8e Mon Sep 17 00:00:00 2001 From: Sean Beckett Date: Tue, 13 Oct 2015 16:55:20 -0700 Subject: [PATCH] Update points.go --- models/points.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/points.go b/models/points.go index d440a5bd0f..d8865c386e 100644 --- a/models/points.go +++ b/models/points.go @@ -459,12 +459,12 @@ func scanFields(buf []byte, i int) (int, []byte, error) { // check for "... =123" but allow "a\ =123" if buf[i-1] == ' ' && buf[i-2] != '\\' { - return i, buf[start:i], fmt.Errorf("missing field name") + return i, buf[start:i], fmt.Errorf("missing field key") } // check for "...a=123,=456" but allow "a=123,a\,=456" if buf[i-1] == ',' && buf[i-2] != '\\' { - return i, buf[start:i], fmt.Errorf("missing field name") + return i, buf[start:i], fmt.Errorf("missing field key") } // check for "... value="