client: fix a typo preventing compilation

Signed-off-by: Tibor Vass <teabee89@gmail.com>
This commit is contained in:
Tibor Vass 2015-05-20 21:06:13 -04:00
parent f19d1a9d12
commit cb99c076db

View file

@ -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
}