forked from remote/oauth2
Added in fixes found during manual testing of Azure import.
Change-Id: Icf21d58732fdf4e3caaca015bc10d84613d0f423
This commit is contained in:
@@ -64,7 +64,7 @@ func (its impersonateTokenSource) Token() (*oauth2.Token, error) {
|
||||
return nil, fmt.Errorf("oauth2/google: unable to read body: %v", err)
|
||||
}
|
||||
if c := resp.StatusCode; c < 200 || c > 299 {
|
||||
return nil, fmt.Errorf("oauth2/google: status code %d: %s", c, body)
|
||||
return nil, fmt.Errorf("oauth2/google: status code %d: %s", c, string(body))
|
||||
}
|
||||
|
||||
var accessTokenResp impersonateTokenResponse
|
||||
|
||||
Reference in New Issue
Block a user