Merge pull request #1425 from RichardScothern/fix-build

Correct type for repo reference
This commit is contained in:
Aaron Lehmann 2016-02-04 17:47:03 -08:00
commit d928dc0b92

View file

@ -22,7 +22,7 @@ import (
// obtained using Seek // obtained using Seek
func TestWriteSeek(t *testing.T) { func TestWriteSeek(t *testing.T) {
ctx := context.Background() ctx := context.Background()
imageName := "foo/bar" imageName, _ := reference.ParseNamed("foo/bar")
driver := inmemory.New() driver := inmemory.New()
registry, err := NewRegistry(ctx, driver, BlobDescriptorCacheProvider(memory.NewInMemoryBlobDescriptorCacheProvider()), EnableDelete, EnableRedirect) registry, err := NewRegistry(ctx, driver, BlobDescriptorCacheProvider(memory.NewInMemoryBlobDescriptorCacheProvider()), EnableDelete, EnableRedirect)
if err != nil { if err != nil {