forked from TrueCloudLab/distribution
Fix godoc
`RepositoryNameTotalLengthMax` doesn't exist anymore. Signed-off-by: Rodolfo Carvalho <rhcarvalho@gmail.com>
This commit is contained in:
parent
9604f0843d
commit
e0fe14618f
1 changed files with 1 additions and 2 deletions
|
@ -46,8 +46,7 @@ var (
|
||||||
// ErrNameEmpty is returned for empty, invalid repository names.
|
// ErrNameEmpty is returned for empty, invalid repository names.
|
||||||
ErrNameEmpty = errors.New("repository name must have at least one component")
|
ErrNameEmpty = errors.New("repository name must have at least one component")
|
||||||
|
|
||||||
// ErrNameTooLong is returned when a repository name is longer than
|
// ErrNameTooLong is returned when a repository name is longer than NameTotalLengthMax.
|
||||||
// RepositoryNameTotalLengthMax
|
|
||||||
ErrNameTooLong = fmt.Errorf("repository name must not be more than %v characters", NameTotalLengthMax)
|
ErrNameTooLong = fmt.Errorf("repository name must not be more than %v characters", NameTotalLengthMax)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue