projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3474a8e
)
17119: one more fix based on review feedback.
author
Ward Vandewege <ward@curii.com>
Tue, 9 Mar 2021 21:06:59 +0000
(16:06 -0500)
committer
Ward Vandewege <ward@curii.com>
Mon, 15 Mar 2021 21:12:42 +0000
(17:12 -0400)
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 e1fc2691a54c7783bd7044997d7011cbf0731121..6e933fc00ed291483eb93279497c48f2d4365618 100644
(file)
--- a/
lib/controller/router/response.go
+++ b/
lib/controller/router/response.go
@@
-107,9
+107,9
@@
func (rtr *router) sendResponse(w http.ResponseWriter, req *http.Request, resp i
rtr.mungeItemFields(item)
slice[i] = item
}
- if opts.Count == "none" {
- delete(tmp, "items_available")
- }
+ }
+ if opts.Count == "none" {
+ delete(tmp, "items_available")
}
} else {
tmp = applySelectParam(opts.Select, tmp)