mirror of https://github.com/status-im/consul.git
A proxy-default config entry only exists in the default namespace
This commit is contained in:
parent
d498a0afc9
commit
905279f5d1
|
@ -842,7 +842,7 @@ func (s *Store) protocolForService(
|
|||
svc structs.ServiceID,
|
||||
) (uint64, string, error) {
|
||||
// Get the global proxy defaults (for default protocol)
|
||||
maxIdx, proxyConfig, err := s.configEntryTxn(tx, ws, structs.ProxyDefaults, structs.ProxyConfigGlobal, &svc.EnterpriseMeta)
|
||||
maxIdx, proxyConfig, err := s.configEntryTxn(tx, ws, structs.ProxyDefaults, structs.ProxyConfigGlobal, structs.DefaultEnterpriseMeta())
|
||||
if err != nil {
|
||||
return 0, "", err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue