From: Lucas Di Pentima Date: Wed, 11 May 2022 13:02:00 +0000 (-0300) Subject: 19103: Fixes the default Limit param for ACA list requests. X-Git-Tag: 2.5.0~182^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/9c3c0e489ddd52c1d46732cec5c87710243aac27 19103: Fixes the default Limit param for ACA list requests. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/lib/controller/router/router.go b/lib/controller/router/router.go index 05bdb4754f..586ea8e676 100644 --- a/lib/controller/router/router.go +++ b/lib/controller/router/router.go @@ -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)) },