Rename bool lable from changed to result

This commit is contained in:
Travis 2019-11-13 10:34:09 -06:00 committed by Matt Jaffee
parent 4dfeb89b43
commit e8cd48155a
No known key found for this signature in database
GPG key ID: 08A3DFFF987B11BF
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},