chore: format oidctest (#9362)

This commit is contained in:
Ammar Bandukwala
2023-08-27 14:51:13 -05:00
committed by GitHub
parent 6ba92ef924
commit 594a6aae19
2 changed files with 3 additions and 2 deletions

View File

@ -663,7 +663,7 @@ func (f *FakeIDP) HTTPClient(rest *http.Client) *http.Client {
return f.fakeCoderd(req)
}
if rest == nil || rest.Transport == nil {
return nil, fmt.Errorf("unexpected network request to %q", req.URL.Host)
return nil, xerrors.Errorf("unexpected network request to %q", req.URL.Host)
}
return rest.Transport.RoundTrip(req)
}