Merge pull request #1773 from zhouhaibing089/comment-fix

Fix incorrect comment about auth type
This commit is contained in:
Richard Scothern 2016-06-08 10:31:49 -07:00
commit 2cbf54df6c

View file

@ -414,7 +414,7 @@ func (storage Storage) MarshalYAML() (interface{}, error) {
// Auth defines the configuration for registry authorization. // Auth defines the configuration for registry authorization.
type Auth map[string]Parameters 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 { func (auth Auth) Type() string {
// Return only key in this map // Return only key in this map
for k := range auth { for k := range auth {