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

Unified Diff: luci_config/appengine/gaeconfig/default.go

Issue 2643803003: config: Update remote URL handling. (Closed)
Patch Set: Fix "nost" Created 3 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 | « logdog/server/service/config/flag_test.go ('k') | luci_config/appengine/gaeconfig/settings.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: luci_config/appengine/gaeconfig/default.go
diff --git a/luci_config/appengine/gaeconfig/default.go b/luci_config/appengine/gaeconfig/default.go
index c12458f9aa2eeabb7285eebd87ffa7042196ae39..3a1b62e3e04b1f56ee29ee0880d0c8643bf3cec8 100644
--- a/luci_config/appengine/gaeconfig/default.go
+++ b/luci_config/appengine/gaeconfig/default.go
@@ -151,14 +151,15 @@ func installConfigBackend(c context.Context, s *Settings, be backend.B, dsCron b
func getPrimaryBackend(c context.Context, settings *Settings) backend.B {
// Identify our config service backend (in testing, it will be supplied).
- if settings.ConfigServiceURL == "" {
+ if settings.ConfigServiceHost == "" {
if info.IsDevAppServer(c) {
return devServerBackend()
}
return erroring.New(ErrNotConfigured)
}
return &client.Backend{&client.RemoteProvider{
- BaseURL: settings.ConfigServiceURL,
+ Host: settings.ConfigServiceHost,
+ Insecure: false,
}}
}
« no previous file with comments | « logdog/server/service/config/flag_test.go ('k') | luci_config/appengine/gaeconfig/settings.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698