[ARVADOS] updated: 2.1.0-825-g6d15d265e
Git user
git at public.arvados.org
Wed Jun 2 19:13:28 UTC 2021
Summary of changes:
lib/diagnostics/cmd.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 6d15d265e11cfb42c89aaad4c46df35b9f80fa1f (commit)
from be8317e8083910ed238670e2b73a05b5875fbac9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 6d15d265e11cfb42c89aaad4c46df35b9f80fa1f
Author: Tom Clegg <tom at curii.com>
Date: Wed Jun 2 15:12:58 2021 -0400
17609: Fix limit args to work with older API.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>
diff --git a/lib/diagnostics/cmd.go b/lib/diagnostics/cmd.go
index 60860e257..7021bb0ee 100644
--- a/lib/diagnostics/cmd.go
+++ b/lib/diagnostics/cmd.go
@@ -210,7 +210,7 @@ func (diag *diagnoser) runtests() {
var keeplist arvados.KeepServiceList
diag.dotest(60, "checking internal/external client detection", func() error {
- err := client.RequestAndDecode(&keeplist, "GET", "arvados/v1/keep_services/accessible", nil, arvados.ListOptions{Limit: -1})
+ err := client.RequestAndDecode(&keeplist, "GET", "arvados/v1/keep_services/accessible", nil, arvados.ListOptions{Limit: 999999})
if err != nil {
return fmt.Errorf("error getting keep services list: %s", err)
} else if len(keeplist.Items) == 0 {
@@ -294,7 +294,7 @@ func (diag *diagnoser) runtests() {
{"name", "=", diag.projectName},
{"group_class", "=", "project"},
{"owner_uuid", "=", user.UUID}},
- Limit: -1})
+ Limit: 999999})
if err != nil {
return fmt.Errorf("list groups: %s", err)
}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list