mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
registry: endpoint_v1: fix outdated comment
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
2b1b235acf
commit
137c8601a8
1 changed files with 1 additions and 2 deletions
|
@ -21,8 +21,7 @@ type V1Endpoint struct {
|
||||||
IsSecure bool
|
IsSecure bool
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewV1Endpoint parses the given address to return a registry endpoint. v can be used to
|
// NewV1Endpoint parses the given address to return a registry endpoint.
|
||||||
// specify a specific endpoint version
|
|
||||||
func NewV1Endpoint(index *registrytypes.IndexInfo, userAgent string, metaHeaders http.Header) (*V1Endpoint, error) {
|
func NewV1Endpoint(index *registrytypes.IndexInfo, userAgent string, metaHeaders http.Header) (*V1Endpoint, error) {
|
||||||
tlsConfig, err := newTLSConfig(index.Name, index.Secure)
|
tlsConfig, err := newTLSConfig(index.Name, index.Secure)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue