Merge pull request #1111 from aaronlehmann/golint-comments

Correct two golint comment issues
pull/1034/merge
Richard Scothern 2015-10-20 09:53:14 -07:00
commit 7e9c832524
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import (
"regexp" "regexp"
) )
// TarSumRegexp defines a regular expression to match tarsum identifiers. // TarsumRegexp defines a regular expression to match tarsum identifiers.
var TarsumRegexp = regexp.MustCompile("tarsum(?:.[a-z0-9]+)?\\+[a-zA-Z0-9]+:[A-Fa-f0-9]+") var TarsumRegexp = regexp.MustCompile("tarsum(?:.[a-z0-9]+)?\\+[a-zA-Z0-9]+:[A-Fa-f0-9]+")
// TarsumRegexpCapturing defines a regular expression to match tarsum identifiers with // TarsumRegexpCapturing defines a regular expression to match tarsum identifiers with

View File

@ -8,7 +8,7 @@ import (
storageDriver "github.com/docker/distribution/registry/storage/driver" storageDriver "github.com/docker/distribution/registry/storage/driver"
) )
// SkipDir is used as a return value from onFileFunc to indicate that // ErrSkipDir is used as a return value from onFileFunc to indicate that
// the directory named in the call is to be skipped. It is not returned // the directory named in the call is to be skipped. It is not returned
// as an error by any function. // as an error by any function.
var ErrSkipDir = errors.New("skip this directory") var ErrSkipDir = errors.New("skip this directory")