From 5608db616cc49d36e09d84dba1f3df47dd4e9d08 Mon Sep 17 00:00:00 2001 From: Aaron Lehmann Date: Mon, 19 Oct 2015 16:42:12 -0700 Subject: [PATCH] Correct two golint comment issues Signed-off-by: Aaron Lehmann --- digest/tarsum.go | 2 +- registry/storage/walk.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/digest/tarsum.go b/digest/tarsum.go index 702d7dc3f..9effeb2e8 100644 --- a/digest/tarsum.go +++ b/digest/tarsum.go @@ -6,7 +6,7 @@ import ( "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]+") // TarsumRegexpCapturing defines a regular expression to match tarsum identifiers with diff --git a/registry/storage/walk.go b/registry/storage/walk.go index 8290f1674..3d8912765 100644 --- a/registry/storage/walk.go +++ b/registry/storage/walk.go @@ -8,7 +8,7 @@ import ( 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 // as an error by any function. var ErrSkipDir = errors.New("skip this directory")