From ec22f46f877b4505e0117eeaab541714644fdd28 Mon Sep 17 00:00:00 2001 From: Tim Cooper Date: Mon, 28 May 2018 17:23:04 -0300 Subject: [PATCH] oauth2: remove misleading Transport.RoundTrip comment This removes any assumption about how the underlying TokenSource is implemented. Change-Id: I03521e2f26bd07e25eb6ba00a78c285ece1835cc Reviewed-on: https://go-review.googlesource.com/114955 Reviewed-by: Brad Fitzpatrick --- transport.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/transport.go b/transport.go index c55bfa0..aa0d34f 100644 --- a/transport.go +++ b/transport.go @@ -31,8 +31,7 @@ type Transport struct { } // RoundTrip authorizes and authenticates the request with an -// access token. If no token exists or token is expired, -// tries to refresh/fetch a new token. +// access token from Transport's Source. func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error) { reqBodyClosed := false if req.Body != nil {