OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The LUCI Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
3 // found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 package prod | 5 package prod |
6 | 6 |
7 import ( | 7 import ( |
8 "fmt" | 8 "fmt" |
9 "net/http" | 9 "net/http" |
10 "net/http/cookiejar" | 10 "net/http/cookiejar" |
11 "net/url" | 11 "net/url" |
12 "strings" | 12 "strings" |
13 | 13 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 } | 158 } |
159 } | 159 } |
160 | 160 |
161 aeCtx, err := remote_api.NewRemoteContext(host, client) | 161 aeCtx, err := remote_api.NewRemoteContext(host, client) |
162 if err != nil { | 162 if err != nil { |
163 return | 163 return |
164 } | 164 } |
165 *inOutCtx = setupAECtx(*inOutCtx, aeCtx) | 165 *inOutCtx = setupAECtx(*inOutCtx, aeCtx) |
166 return nil | 166 return nil |
167 } | 167 } |
OLD | NEW |