19103: Fixes the default Limit param for ACA list requests.
authorLucas Di Pentima <lucas.dipentima@curii.com>
Wed, 11 May 2022 13:02:00 +0000 (10:02 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Wed, 11 May 2022 13:02:38 +0000 (10:02 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

lib/controller/router/router.go

index 05bdb4754f0a860ac552867d42bf6e30af9eb4d6..586ea8e676ec9ae2a08a7f1855f7f17d8ef5754a 100644 (file)
@@ -407,7 +407,7 @@ func (rtr *router) addRoutes() {
                },
                {
                        arvados.EndpointAPIClientAuthorizationList,
-                       func() interface{} { return &arvados.ListOptions{} },
+                       func() interface{} { return &arvados.ListOptions{Limit: -1} },
                        func(ctx context.Context, opts interface{}) (interface{}, error) {
                                return rtr.backend.APIClientAuthorizationList(ctx, *opts.(*arvados.ListOptions))
                        },