diff --git a/pkg/blobserver/handlers/enumerate.go b/pkg/blobserver/handlers/enumerate.go index 933fe0924..42b44aee1 100644 --- a/pkg/blobserver/handlers/enumerate.go +++ b/pkg/blobserver/handlers/enumerate.go @@ -95,7 +95,7 @@ func handleEnumerateBlobs(conn http.ResponseWriter, req *http.Request, storage b blobch := make(chan blobref.SizedBlobRef, 100) resultch := make(chan error, 1) go func() { - resultch <- storage.EnumerateBlobs(blobch, formValueAfter, limit+1, time.Duration(waitSeconds) * time.Second) + resultch <- storage.EnumerateBlobs(blobch, formValueAfter, limit+1, time.Duration(waitSeconds)*time.Second) }() after := "" diff --git a/pkg/blobserver/handlers/enumerate_test.go b/pkg/blobserver/handlers/enumerate_test.go index 350ff8efb..b03496ec3 100644 --- a/pkg/blobserver/handlers/enumerate_test.go +++ b/pkg/blobserver/handlers/enumerate_test.go @@ -17,12 +17,13 @@ limitations under the License. package handlers import ( - . "camlistore.org/pkg/test/asserts" - "camlistore.org/pkg/blobref" "net/http" "net/http/httptest" "testing" "time" + + "camlistore.org/pkg/blobref" + . "camlistore.org/pkg/test/asserts" ) type emptyEnumerator struct {