[ARVADOS] updated: 1.3.0-1390-gf0451bbb6

Git user git at public.curoverse.com
Tue Jul 23 15:28:05 UTC 2019


Summary of changes:
 lib/controller/federation/list.go | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

       via  f0451bbb69fd79fbead3036aac29dd97977727a6 (commit)
      from  83ee4d3ebf739f8aad67cf8faea093fc71d24d01 (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 f0451bbb69fd79fbead3036aac29dd97977727a6
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Tue Jul 23 11:27:05 2019 -0400

    14287: Reword filter restrictions.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/lib/controller/federation/list.go b/lib/controller/federation/list.go
index 124946de0..414870d24 100644
--- a/lib/controller/federation/list.go
+++ b/lib/controller/federation/list.go
@@ -68,8 +68,7 @@ func (conn *Conn) CollectionList(ctx context.Context, options arvados.ListOption
 //
 // * len(Order)==0
 //
-// * there are no filters other than the "uuid = ..." and "uuid in
-//   ..." filters mentioned above.
+// * Each filter must be either "uuid = ..." or "uuid in [...]".
 //
 // * The maximum possible response size (total number of objects that
 //   could potentially be matched by all of the specified filters)
@@ -161,7 +160,7 @@ func (conn *Conn) splitListRequest(ctx context.Context, opts arvados.ListOptions
 
 	if len(todoByRemote) > 1 {
 		if cannotSplit {
-			return httpErrorf(http.StatusBadRequest, "cannot execute federated list query with filters other than 'uuid = ...' and 'uuid in [...]'")
+			return httpErrorf(http.StatusBadRequest, "cannot execute federated list query: each filter must be either 'uuid = ...' or 'uuid in [...]'")
 		}
 		if opts.Count != "none" {
 			return httpErrorf(http.StatusBadRequest, "cannot execute federated list query unless count==\"none\"")

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list