Fix connecting to the wrong url (#9329)

This commit is contained in:
Alexander Krantz 2021-06-15 14:04:22 -07:00 committed by GitHub
parent 55fa78c600
commit d7afebf7e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ func newClient(baseURL, namespace, bearerToken string, timeout time.Duration, tl
CertFile: tlsConfig.TLSCert, CertFile: tlsConfig.TLSCert,
KeyFile: tlsConfig.TLSKey, KeyFile: tlsConfig.TLSKey,
}, },
Host: baseURL,
BearerToken: bearerToken, BearerToken: bearerToken,
ContentConfig: rest.ContentConfig{}, ContentConfig: rest.ContentConfig{},
}) })