From b6252868ccae67a5d838657893fc43d7bc1c9d33 Mon Sep 17 00:00:00 2001 From: Todd Persen Date: Wed, 17 Jun 2015 22:21:58 -0700 Subject: [PATCH] Add support for marshaling `uint64` in client. --- tsdb/points.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tsdb/points.go b/tsdb/points.go index 9a3c97472ee..0b06e13dbc9 100644 --- a/tsdb/points.go +++ b/tsdb/points.go @@ -923,6 +923,8 @@ func (p Fields) MarshalBinary() []byte { b = append(b, []byte(strconv.FormatInt(int64(t), 10))...) case int32: b = append(b, []byte(strconv.FormatInt(int64(t), 10))...) + case uint64: + b = append(b, []byte(strconv.FormatUint(t, 10))...) case int64: b = append(b, []byte(strconv.FormatInt(t, 10))...) case float64: