From cb99c076db3423f370641690333d11b3a2062b26 Mon Sep 17 00:00:00 2001 From: Tibor Vass Date: Wed, 20 May 2015 21:06:13 -0400 Subject: [PATCH] client: fix a typo preventing compilation Signed-off-by: Tibor Vass --- registry/client/repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/client/repository.go b/registry/client/repository.go index a1117ac2..180d6472 100644 --- a/registry/client/repository.go +++ b/registry/client/repository.go @@ -22,7 +22,7 @@ import ( // NewRepository creates a new Repository for the given repository name and base URL func NewRepository(ctx context.Context, name, baseURL string, transport http.RoundTripper) (distribution.Repository, error) { - if err := v2.ValidateRespositoryName(name); err != nil { + if err := v2.ValidateRepositoryName(name); err != nil { return nil, err }