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

Loading…
Cancel
Save