A proxy-default config entry only exists in the default namespace

This commit is contained in:
Chris Piraino 2020-05-06 13:41:45 -05:00
parent ff501ffb40
commit ac115e39b2
1 changed files with 1 additions and 1 deletions

View File

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