From 9894643c885f29c381b97e5f53905db3a8c46202 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 --- docs/storage/blob_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/storage/blob_test.go b/docs/storage/blob_test.go index 701a14ed..1e5b408c 100644 --- a/docs/storage/blob_test.go +++ b/docs/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 {