Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(964)

Unified Diff: impl/prod/context.go

Issue 1578943002: Fix GAE <-> GAE RemoteAPI (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/prod/context.go
diff --git a/impl/prod/context.go b/impl/prod/context.go
index bccbf7934cd648ad1cb748ec7fad3b0d3f46b38e..8a613253d2aa4cd85cc42a80895cc36ee07d1da8 100644
--- a/impl/prod/context.go
+++ b/impl/prod/context.go
@@ -114,7 +114,7 @@ func UseRemote(inOutCtx *context.Context, host string, client *http.Client) (err
if strings.HasPrefix(host, "localhost") {
transp := http.DefaultTransport
if aeCtx := AEContextNoTxn(*inOutCtx); aeCtx != nil {
- transp = urlfetch.Get(aeCtx)
+ transp = urlfetch.Get(*inOutCtx)
Vadim Sh. 2016/01/11 21:27:18 or you can use real URL fetch service with aeCtx.
}
client = &http.Client{Transport: transp}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698