From 137c8601a8c744d464855755ce756f07e83aa0b7 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Wed, 16 Mar 2016 12:53:07 +0100 Subject: [PATCH] registry: endpoint_v1: fix outdated comment Signed-off-by: Antonio Murdaca --- registry/endpoint_v1.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/registry/endpoint_v1.go b/registry/endpoint_v1.go index 58e2600ef9..fd81972c72 100644 --- a/registry/endpoint_v1.go +++ b/registry/endpoint_v1.go @@ -21,8 +21,7 @@ type V1Endpoint struct { IsSecure bool } -// NewV1Endpoint parses the given address to return a registry endpoint. v can be used to -// specify a specific endpoint version +// NewV1Endpoint parses the given address to return a registry endpoint. func NewV1Endpoint(index *registrytypes.IndexInfo, userAgent string, metaHeaders http.Header) (*V1Endpoint, error) { tlsConfig, err := newTLSConfig(index.Name, index.Secure) if err != nil {