Add ClientOptResolver to test util file

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
pull/11129/head
Antonio Gamez Diaz 2 years ago
parent e43ffb807e
commit 770c51ef0a
No known key found for this signature in database
GPG Key ID: 96108DED40068D35

@ -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),
) )
} }

Loading…
Cancel
Save