projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9af09b
)
17119: when the count: none option is supplied, the itemsAvailable field
author
Ward Vandewege <ward@curii.com>
Mon, 22 Mar 2021 20:28:00 +0000
(16:28 -0400)
committer
Ward Vandewege <ward@curii.com>
Mon, 22 Mar 2021 21:06:40 +0000
(17:06 -0400)
should be omitted from the response for the group contents API
call.
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>
lib/controller/router/response.go
patch
|
blob
|
history
diff --git
a/lib/controller/router/response.go
b/lib/controller/router/response.go
index 6e933fc00ed291483eb93279497c48f2d4365618..03cdcf18d27e4fcf3df814ab3c652c3479456165 100644
(file)
--- a/
lib/controller/router/response.go
+++ b/
lib/controller/router/response.go
@@
-31,6
+31,9
@@
func (rtr *router) responseOptions(opts interface{}) (responseOptions, error) {
case *arvados.ListOptions:
rOpts.Select = opts.Select
rOpts.Count = opts.Count
+ case *arvados.GroupContentsOptions:
+ rOpts.Select = opts.Select
+ rOpts.Count = opts.Count
}
return rOpts, nil
}