|
|
@ -98,6 +98,7 @@ func setup(suite *TestSuite, tlsEnabled bool, insecure bool) *registry.Registry
|
|
|
|
ClientOptWriter(suite.Out),
|
|
|
|
ClientOptWriter(suite.Out),
|
|
|
|
ClientOptCredentialsFile(credentialsFile),
|
|
|
|
ClientOptCredentialsFile(credentialsFile),
|
|
|
|
ClientOptHTTPClient(httpClient),
|
|
|
|
ClientOptHTTPClient(httpClient),
|
|
|
|
|
|
|
|
ClientOptResolver(nil),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
suite.RegistryClient, err = NewClient(
|
|
|
|
suite.RegistryClient, err = NewClient(
|
|
|
@ -105,6 +106,7 @@ func setup(suite *TestSuite, tlsEnabled bool, insecure bool) *registry.Registry
|
|
|
|
ClientOptEnableCache(true),
|
|
|
|
ClientOptEnableCache(true),
|
|
|
|
ClientOptWriter(suite.Out),
|
|
|
|
ClientOptWriter(suite.Out),
|
|
|
|
ClientOptCredentialsFile(credentialsFile),
|
|
|
|
ClientOptCredentialsFile(credentialsFile),
|
|
|
|
|
|
|
|
ClientOptResolver(nil),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|