17119: one more change after review feedback.
[arvados.git] / 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 = ""