oauth2: fix the broken appengine build

Change-Id: I7d1af87be35d9e3bd3d0b5dcd659d07cde873b56
Reviewed-on: https://go-review.googlesource.com/1925
Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
Burcu Dogan 2014-12-21 15:27:36 -08:00
parent 78bedfddc3
commit 0a3f39965a
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ func init() {
func contextClientAppEngine(ctx Context) (*http.Client, error) {
if actx, ok := ctx.(appengine.Context); ok {
return urlfetch.NewClient(actx), nil
return urlfetch.Client(actx), nil
}
// The user did it wrong. We'll log once (and hope they see it
// in dev_appserver), but stil return (nil, nil) in case some