removed proxy suffix
This commit is contained in:
parent
844ac16900
commit
99201412da
|
@ -866,8 +866,7 @@ func (c *ServiceClient) serviceRegs(ops *operations, service *structs.Service, w
|
|||
}
|
||||
|
||||
// newConnect returns (nil, nil) if there's no Connect-enabled service.
|
||||
sidecarId := id + sidecarSuffix
|
||||
connect, err := newConnect(sidecarId, service.Name, service.Connect, workload.Networks)
|
||||
connect, err := newConnect(id, service.Name, service.Connect, workload.Networks)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("invalid Consul Connect configuration for service %q: %v", service.Name, err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue