From ecd70a194853f494496b888e427984666361360e Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Thu, 15 Aug 2013 11:42:40 +0000 Subject: [PATCH] hot fix display in parallel pull and go fmt --- docs/registry.go | 1 - docs/registry_mock_test.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/registry.go b/docs/registry.go index ba62b3465..ab13000b3 100644 --- a/docs/registry.go +++ b/docs/registry.go @@ -162,7 +162,6 @@ func (r *Registry) GetRemoteHistory(imgID, registry string, token []string) ([]s // Check if an image exists in the Registry func (r *Registry) LookupRemoteImage(imgID, registry string, token []string) bool { - req, err := r.reqFactory.NewRequest("GET", registry+"images/"+imgID+"/json", nil) if err != nil { return false diff --git a/docs/registry_mock_test.go b/docs/registry_mock_test.go index e75231551..6eb94b63c 100644 --- a/docs/registry_mock_test.go +++ b/docs/registry_mock_test.go @@ -343,4 +343,4 @@ func TestWait(t *testing.T) { <-c } -//*/ \ No newline at end of file +//*/