From b1d968f95e9748b585de720cdd74307f7c8d3312 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Thu, 5 Jul 2018 21:58:54 -0500 Subject: [PATCH] Unexport proto.EncodeRow --- encoding/proto/proto.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/encoding/proto/proto.go b/encoding/proto/proto.go index f6c1fd2d9..55983a702 100644 --- a/encoding/proto/proto.go +++ b/encoding/proto/proto.go @@ -346,7 +346,7 @@ func encodeQueryResponse(m *pilosa.QueryResponse) *internal.QueryResponse { switch result := m.Results[i].(type) { case *pilosa.Row: pb.Results[i].Type = queryResultTypeRow - pb.Results[i].Row = EncodeRow(result) + pb.Results[i].Row = encodeRow(result) case []pilosa.Pair: pb.Results[i].Type = queryResultTypePairs pb.Results[i].Pairs = encodePairs(result) @@ -965,7 +965,7 @@ func encodeColumnAttrSet(set *pilosa.ColumnAttrSet) *internal.ColumnAttrSet { } } -func EncodeRow(r *pilosa.Row) *internal.Row { +func encodeRow(r *pilosa.Row) *internal.Row { if r == nil { return nil }