Browse Source

connect/proxy: use the right variable for loading the new service

pull/4275/head
Mitchell Hashimoto 7 years ago
parent
commit
0487cacd10
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
  1. 2
      connect/proxy/proxy.go

2
connect/proxy/proxy.go

@ -45,7 +45,7 @@ func (p *Proxy) Serve() error {
// Initial setup
// Setup Service instance now we know target ID etc
service, err := cfg.Service(p.client, p.logger)
service, err := newCfg.Service(p.client, p.logger)
if err != nil {
return err
}

Loading…
Cancel
Save