Fix disco chain graph validation for namespaces (#7217)
Previously this happened to be validating only the chains in the default namespace. Now it will validate all chains in all namespaces when the global proxy-defaults is changed.
This commit is contained in:
parent
3621f7090b
commit
119168203b
|
@ -357,7 +357,7 @@ func (s *Store) validateProposedConfigEntryInServiceGraph(
|
||||||
// somehow omit the ones that have a default protocol configured.
|
// somehow omit the ones that have a default protocol configured.
|
||||||
|
|
||||||
for _, kind := range serviceGraphKinds {
|
for _, kind := range serviceGraphKinds {
|
||||||
_, entries, err := s.configEntriesByKindTxn(tx, nil, kind, entMeta)
|
_, entries, err := s.configEntriesByKindTxn(tx, nil, kind, structs.WildcardEnterpriseMeta())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue