mirror of https://github.com/status-im/consul.git
connect/proxy: use the right variable for loading the new service
This commit is contained in:
parent
8c713e6104
commit
0487cacd10
|
@ -45,7 +45,7 @@ func (p *Proxy) Serve() error {
|
||||||
// Initial setup
|
// Initial setup
|
||||||
|
|
||||||
// Setup Service instance now we know target ID etc
|
// 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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue