|
@@ -179,7 +179,9 @@ func RangeRequestToOp(r *pb.RangeRequest) clientv3.Op {
|
|
|
if r.CountOnly {
|
|
if r.CountOnly {
|
|
|
opts = append(opts, clientv3.WithCountOnly())
|
|
opts = append(opts, clientv3.WithCountOnly())
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ if r.KeysOnly {
|
|
|
|
|
+ opts = append(opts, clientv3.WithKeysOnly())
|
|
|
|
|
+ }
|
|
|
if r.Serializable {
|
|
if r.Serializable {
|
|
|
opts = append(opts, clientv3.WithSerializable())
|
|
opts = append(opts, clientv3.WithSerializable())
|
|
|
}
|
|
}
|