From 0a3f39965a49f6db0dbc444c9308fb1ba75e9f3b Mon Sep 17 00:00:00 2001 From: Burcu Dogan Date: Sun, 21 Dec 2014 15:27:36 -0800 Subject: [PATCH] oauth2: fix the broken appengine build Change-Id: I7d1af87be35d9e3bd3d0b5dcd659d07cde873b56 Reviewed-on: https://go-review.googlesource.com/1925 Reviewed-by: Andrew Gerrand --- client_appengine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_appengine.go b/client_appengine.go index ff060ef..d9ce804 100644 --- a/client_appengine.go +++ b/client_appengine.go @@ -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