diff --git a/agent/local/state.go b/agent/local/state.go index 793cab3f0a..335721a5cf 100644 --- a/agent/local/state.go +++ b/agent/local/state.go @@ -487,6 +487,8 @@ func (l *State) AddAliasCheck(checkID structs.CheckID, srcServiceID structs.Serv // ServiceExists return true if the given service does exists func (l *State) ServiceExists(serviceID structs.ServiceID) bool { + serviceID.EnterpriseMeta.Normalize() + l.Lock() defer l.Unlock() return l.services[serviceID] != nil