[ARVADOS] updated: 1.3.0-1163-g49ec8f92e

Git user git at public.curoverse.com
Wed Jun 26 16:00:45 UTC 2019


Summary of changes:
 lib/controller/router/request.go | 7 -------
 1 file changed, 7 deletions(-)

       via  49ec8f92ef81041d58fc66593c9a33bcbe7c3d22 (commit)
      from  3a126e4c7e3ab4235a8d5f84f5addebb4691ac7a (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 49ec8f92ef81041d58fc66593c9a33bcbe7c3d22
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Wed Jun 26 12:00:05 2019 -0400

    14287: Don't delete non-writable attrs in create/update reqs.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/lib/controller/router/request.go b/lib/controller/router/request.go
index c219b1e1d..377f7243c 100644
--- a/lib/controller/router/request.go
+++ b/lib/controller/router/request.go
@@ -115,13 +115,6 @@ func (rtr *router) loadRequestParams(req *http.Request, attrsKey string) (map[st
 	}
 
 	if v, ok := params[attrsKey]; ok && attrsKey != "" {
-		if v, ok := v.(map[string]interface{}); ok {
-			// Delete field(s) that appear in responses
-			// but not in update attrs, so clients can
-			// fetch-modify-update.
-			delete(v, "etag")
-			delete(v, "unsigned_manifest_text")
-		}
 		params["attrs"] = v
 		delete(params, attrsKey)
 	}

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list