[ARVADOS] updated: 2cf5dde4a6d56d0fb87a1dc79743753632d640a0

Git user git at public.curoverse.com
Thu Mar 17 18:15:46 EDT 2016


Summary of changes:
 sdk/go/httpserver/responsewriter.go           |  6 +++---
 services/datamanager/collection/collection.go | 14 +++++++-------
 2 files changed, 10 insertions(+), 10 deletions(-)

       via  2cf5dde4a6d56d0fb87a1dc79743753632d640a0 (commit)
      from  a5e42d6963081e7b45a1a0cdc43b4a285e2e5aef (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 2cf5dde4a6d56d0fb87a1dc79743753632d640a0
Author: Tom Clegg <tom at curoverse.com>
Date:   Thu Mar 17 18:15:10 2016 -0400

    gofmt. refs #8754

diff --git a/sdk/go/httpserver/responsewriter.go b/sdk/go/httpserver/responsewriter.go
index 1af4dc8..b9f4c23 100644
--- a/sdk/go/httpserver/responsewriter.go
+++ b/sdk/go/httpserver/responsewriter.go
@@ -9,9 +9,9 @@ import (
 // error.
 type ResponseWriter struct {
 	http.ResponseWriter
-	wroteStatus *int	// Last status given to WriteHeader()
-	wroteBodyBytes *int	// Bytes successfully written
-	err *error		// Last error returned from Write()
+	wroteStatus    *int   // Last status given to WriteHeader()
+	wroteBodyBytes *int   // Bytes successfully written
+	err            *error // Last error returned from Write()
 }
 
 func WrapResponseWriter(orig http.ResponseWriter) ResponseWriter {
diff --git a/services/datamanager/collection/collection.go b/services/datamanager/collection/collection.go
index 9b7eb75..c392ded 100644
--- a/services/datamanager/collection/collection.go
+++ b/services/datamanager/collection/collection.go
@@ -132,7 +132,7 @@ func GetCollections(params GetCollectionsParams) (results ReadCollections, err e
 		"select":  fieldsWanted,
 		"order":   []string{"modified_at ASC", "uuid ASC"},
 		"filters": [][]string{[]string{"modified_at", ">=", "1900-01-01T00:00:00Z"}},
-		"offset": 0}
+		"offset":  0}
 
 	if params.BatchSize > 0 {
 		sdkParams["limit"] = params.BatchSize
@@ -262,12 +262,12 @@ func GetCollections(params GetCollectionsParams) (results ReadCollections, err e
 	}
 	if totalCollections < finalNumberOfCollectionsAvailable {
 		err = fmt.Errorf("API server indicates a total of %d collections "+
-				"available up to %v, but we only retrieved %d. "+
-				"Refusing to continue as this could indicate an "+
-				"otherwise undetected failure.",
-				finalNumberOfCollectionsAvailable, 
-				sdkParams["filters"].([][]string)[0][2],
-				totalCollections)
+			"available up to %v, but we only retrieved %d. "+
+			"Refusing to continue as this could indicate an "+
+			"otherwise undetected failure.",
+			finalNumberOfCollectionsAvailable,
+			sdkParams["filters"].([][]string)[0][2],
+			totalCollections)
 		return
 	}
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list