Skip to content

Commit 1dc8447

Browse files
committed
Fix RawRangeQuery
1 parent da30fd6 commit 1dc8447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/queries.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,9 +396,9 @@ type RawRangeQuery struct {
396396
// Inclusive start bound. This is the first key you would like to get data for.
397397
//
398398
// If `start` is lexicographically greater than or equal to `end`, an empty range is described, mo matter of the order.
399-
Start *[]byte `json:"start,omitempty"`
399+
Start []byte `json:"start,omitempty"`
400400
// Exclusive end bound. This is the key after the last key you would like to get data for.
401-
End *[]byte `json:"end,omitempty"`
401+
End []byte `json:"end,omitempty"`
402402
// Maximum number of elements to return.
403403
//
404404
// Make sure to set a reasonable limit to avoid running out of memory or into the deserialization limits of the VM. Also keep in mind that these limitations depend on the full JSON size of the response type.

0 commit comments

Comments
 (0)