X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a5e42d6963081e7b45a1a0cdc43b4a285e2e5aef..2cf5dde4a6d56d0fb87a1dc79743753632d640a0:/services/datamanager/collection/collection.go diff --git a/services/datamanager/collection/collection.go b/services/datamanager/collection/collection.go index 9b7eb7543a..c392ded35d 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 }