Merge pull request #37 from travisturner/rename-bool-label

Rename bool label from changed to result
This commit is contained in:
Matthew Jaffee 2019-11-13 14:30:14 -06:00 committed by GitHub
commit fa9c911860
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -538,7 +538,7 @@ func makeRows(resp pilosa.QueryResponse, logger logger.Logger) chan *pb.RowRespo
&pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_Uint64Val{Uint64Val: uint64(r)}},
}}
case bool:
ci := []*pb.ColumnInfo{{Name: "changed", Datatype: "bool"}}
ci := []*pb.ColumnInfo{{Name: "result", Datatype: "bool"}}
results <- &pb.RowResponse{
Headers: ci,
Columns: []*pb.ColumnResponse{

View file

@ -209,7 +209,7 @@ func TestGRPC(t *testing.T) {
{
true,
[]expHeader{
{"changed", "bool"},
{"result", "bool"},
},
[][]expColumn{
{true},