Signed-off-by: Antonio Murdaca <runcom@redhat.com>
| ... | ... |
@@ -21,8 +21,7 @@ type V1Endpoint struct {
|
| 21 | 21 |
IsSecure bool |
| 22 | 22 |
} |
| 23 | 23 |
|
| 24 |
-// NewV1Endpoint parses the given address to return a registry endpoint. v can be used to |
|
| 25 |
-// specify a specific endpoint version |
|
| 24 |
+// NewV1Endpoint parses the given address to return a registry endpoint. |
|
| 26 | 25 |
func NewV1Endpoint(index *registrytypes.IndexInfo, userAgent string, metaHeaders http.Header) (*V1Endpoint, error) {
|
| 27 | 26 |
tlsConfig, err := newTLSConfig(index.Name, index.Secure) |
| 28 | 27 |
if err != nil {
|