diff --git a/pkg/registry/util.go b/pkg/registry/util.go index 8661202fb..d8fb248d4 100644 --- a/pkg/registry/util.go +++ b/pkg/registry/util.go @@ -156,7 +156,7 @@ func NewRegistryClientWithTLS(out io.Writer, certFile, keyFile, caFile string, i return registryClient, nil } -func NewRegistryClientHTTP(out io.Writer, certFile, keyFile, caFile string, insecureSkipTLSverify bool, registryConfig string, debug bool) (*Client, error) { +func NewRegistryClientHTTP(out io.Writer, registryConfig string, debug bool) (*Client, error) { // Create a new http registry client registryClient, err := NewClient( ClientOptDebug(debug), diff --git a/pkg/registry/utils_test.go b/pkg/registry/utils_test.go index 9dc832a4d..49b028a38 100644 --- a/pkg/registry/utils_test.go +++ b/pkg/registry/utils_test.go @@ -55,10 +55,6 @@ var ( testHtpasswdFileBasename = "authtest.htpasswd" testUsername = "myuser" testPassword = "mypass" - testCACertFileName = "root.pem" - testCAKeyFileName = "root-key.pem" - testClientCertFileName = "client.pem" - testClientKeyFileName = "client-key.pem" ) type TestSuite struct {