Skip to content

Commit

Permalink
grpcproxy: respect KeysOnly flag
Browse files Browse the repository at this point in the history
Fixes #8478
  • Loading branch information
heyitsanthony committed Sep 13, 2017
1 parent 4366f35 commit 7f44644
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion proxy/grpcproxy/kv.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ func RangeRequestToOp(r *pb.RangeRequest) clientv3.Op {
if r.CountOnly {
opts = append(opts, clientv3.WithCountOnly())
}

if r.KeysOnly {
opts = append(opts, clientv3.WithKeysOnly())
}
if r.Serializable {
opts = append(opts, clientv3.WithSerializable())
}
Expand Down

0 comments on commit 7f44644

Please sign in to comment.