diff --git a/agent/agent.go b/agent/agent.go index b078ee8836..e6afd2d5ba 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -1664,6 +1664,7 @@ func (a *Agent) AddCheck(check *structs.HealthCheck, chkType *structs.CheckType, return fmt.Errorf("ServiceID %q does not exist", check.ServiceID) } check.ServiceName = s.Service + check.ServiceTags = s.Tags } a.checkLock.Lock()