From 4a1d36c22d5d1875197ffb4c5615a79c889c564f Mon Sep 17 00:00:00 2001 From: Richard Scothern Date: Thu, 4 Feb 2016 17:32:55 -0800 Subject: [PATCH] Correct type for repo reference Signed-off-by: Richard Scothern --- registry/storage/blob_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/storage/blob_test.go b/registry/storage/blob_test.go index 701a14ed..1e5b408c 100644 --- a/registry/storage/blob_test.go +++ b/registry/storage/blob_test.go @@ -22,7 +22,7 @@ import ( // obtained using Seek func TestWriteSeek(t *testing.T) { ctx := context.Background() - imageName := "foo/bar" + imageName, _ := reference.ParseNamed("foo/bar") driver := inmemory.New() registry, err := NewRegistry(ctx, driver, BlobDescriptorCacheProvider(memory.NewInMemoryBlobDescriptorCacheProvider()), EnableDelete, EnableRedirect) if err != nil {