registry: endpoint_v1: fix outdated comment

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Upstream-commit: 137c8601a8c744d464855755ce756f07e83aa0b7
Component: engine
This commit is contained in:
Antonio Murdaca
2016-03-16 12:53:07 +01:00
parent 9042585b0d
commit 4073a69824

View File

@ -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 {