github: support provider URL (#2490)

This commit is contained in:
Caleb Doxsey 2021-08-18 09:20:08 -06:00 committed by GitHub
parent 7914bea977
commit 9fa65e069c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 50 additions and 12 deletions

View file

@ -21,5 +21,5 @@ func TestDefaultClient(t *testing.T) {
defer ts.Close()
req, _ := http.NewRequest(http.MethodGet, ts.URL, nil)
req = req.WithContext(requestid.WithValue(context.Background(), "foo"))
_, _ = defaultClient.Do(req)
_, _ = getDefaultClient().Do(req)
}