[ARVADOS] updated: 1.1.0-164-gdc56b92

Git user git at public.curoverse.com
Tue Nov 21 03:10:33 EST 2017


Summary of changes:
 sdk/go/httpserver/responsewriter.go | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

       via  dc56b929215f826fb057ee5b9b7dfa58ff5ab3ed (commit)
      from  70111d82653ca633d2397c74eb994a8a9d718e80 (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 dc56b929215f826fb057ee5b9b7dfa58ff5ab3ed
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Tue Nov 21 03:03:55 2017 -0500

    12483: Fix receiver type.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/sdk/go/httpserver/responsewriter.go b/sdk/go/httpserver/responsewriter.go
index 3941c13..f17bc82 100644
--- a/sdk/go/httpserver/responsewriter.go
+++ b/sdk/go/httpserver/responsewriter.go
@@ -28,26 +28,26 @@ func WrapResponseWriter(orig http.ResponseWriter) ResponseWriter {
 	return &responseWriter{ResponseWriter: orig}
 }
 
-func (w responseWriter) WriteHeader(s int) {
+func (w *responseWriter) WriteHeader(s int) {
 	w.wroteStatus = s
 	w.ResponseWriter.WriteHeader(s)
 }
 
-func (w responseWriter) Write(data []byte) (n int, err error) {
+func (w *responseWriter) Write(data []byte) (n int, err error) {
 	n, err = w.ResponseWriter.Write(data)
 	w.wroteBodyBytes += n
 	w.err = err
 	return
 }
 
-func (w responseWriter) WroteStatus() int {
+func (w *responseWriter) WroteStatus() int {
 	return w.wroteStatus
 }
 
-func (w responseWriter) WroteBodyBytes() int {
+func (w *responseWriter) WroteBodyBytes() int {
 	return w.wroteBodyBytes
 }
 
-func (w responseWriter) Err() error {
+func (w *responseWriter) Err() error {
 	return w.err
 }

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list