16263: Adds test exposing a bug when using 'limit' with the max int64 value.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 25 Mar 2020 14:26:55 +0000 (11:26 -0300)
committerPeter Amstutz <peter.amstutz@curii.com>
Mon, 13 Apr 2020 15:27:00 +0000 (11:27 -0400)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

sdk/go/arvados/api.go

index 0c5d32e8b7e1e96bdab9bbf45b25962963297829..4eb5b61b3a1200e46119c1c15e7823a4496be64a 100644 (file)
@@ -77,8 +77,8 @@ type ListOptions struct {
        Select             []string               `json:"select"`
        Filters            []Filter               `json:"filters"`
        Where              map[string]interface{} `json:"where"`
-       Limit              int                    `json:"limit"`
-       Offset             int                    `json:"offset"`
+       Limit              int64                  `json:"limit"`
+       Offset             int64                  `json:"offset"`
        Order              []string               `json:"order"`
        Distinct           bool                   `json:"distinct"`
        Count              string                 `json:"count"`