[ARVADOS] updated: 2.1.0-445-g7183ca159

Git user git at public.arvados.org
Tue Mar 9 21:10:35 UTC 2021


Summary of changes:
 lib/controller/router/response.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

       via  7183ca1596f6509fe2ef1960e8ca948424294781 (commit)
      from  c869babecb193f02a24f071b8fd101e16aeec680 (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 7183ca1596f6509fe2ef1960e8ca948424294781
Author: Ward Vandewege <ward at curii.com>
Date:   Tue Mar 9 16:06:59 2021 -0500

    17119: one more fix based on review feedback.
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/lib/controller/router/response.go b/lib/controller/router/response.go
index e1fc2691a..6e933fc00 100644
--- 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)

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list