From e0fe14618f50d79c05b851d5168220ab34e79bf4 Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Tue, 22 Dec 2015 12:22:31 +0100 Subject: [PATCH] Fix godoc `RepositoryNameTotalLengthMax` doesn't exist anymore. Signed-off-by: Rodolfo Carvalho --- reference/reference.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reference/reference.go b/reference/reference.go index c3e77c6e..c188472a 100644 --- a/reference/reference.go +++ b/reference/reference.go @@ -46,8 +46,7 @@ var ( // ErrNameEmpty is returned for empty, invalid repository names. ErrNameEmpty = errors.New("repository name must have at least one component") - // ErrNameTooLong is returned when a repository name is longer than - // RepositoryNameTotalLengthMax + // ErrNameTooLong is returned when a repository name is longer than NameTotalLengthMax. ErrNameTooLong = fmt.Errorf("repository name must not be more than %v characters", NameTotalLengthMax) )