From fc9aa2f351c9f780b77ebada9d87f098d1ebd3ba Mon Sep 17 00:00:00 2001 From: zhouhaibing089 Date: Wed, 8 Jun 2016 22:43:28 +0800 Subject: [PATCH] incorrect comment about auth type Signed-off-by: haibzhou --- configuration/configuration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/configuration.go b/configuration/configuration.go index 59c90fde..d38975f2 100644 --- a/configuration/configuration.go +++ b/configuration/configuration.go @@ -414,7 +414,7 @@ func (storage Storage) MarshalYAML() (interface{}, error) { // Auth defines the configuration for registry authorization. type Auth map[string]Parameters -// Type returns the storage driver type, such as filesystem or s3 +// Type returns the auth type, such as htpasswd or token func (auth Auth) Type() string { // Return only key in this map for k := range auth {