forked from TrueCloudLab/distribution
Correct type for repo reference
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
This commit is contained in:
parent
0751bb3179
commit
9894643c88
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue