17119: one more change after review feedback.
authorWard Vandewege <ward@curii.com>
Tue, 30 Mar 2021 20:35:43 +0000 (16:35 -0400)
committerWard Vandewege <ward@curii.com>
Tue, 30 Mar 2021 20:35:43 +0000 (16:35 -0400)
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

lib/controller/localdb/conn.go

index 28e0bf6e2fb2ca32e28f4f6d951c72533d8ef71d..04f85cb5a9f54c2cd2286e33645fc4a62cb400ca 100644 (file)
@@ -86,6 +86,8 @@ func (conn *Conn) GroupContents(ctx context.Context, options arvados.GroupConten
                                filter.Operand = tmp[2]
                                options.Filters = append(options.Filters, filter)
                        }
+               } else {
+                       return resp, fmt.Errorf("filter unparsable: not an array\n")
                }
                // Use the generic /groups/contents endpoint for filter groups
                options.UUID = ""