| 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,
|
| }}
|
| }
|
|
|
|
|