From ce771f1fb33ddbe337a66c70acdc82cb578de4d1 Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 29 Jan 2018 20:32:44 +0100 Subject: [PATCH] Fix service tags not added to health check. Part two --- agent/agent.go | 1 + 1 file changed, 1 insertion(+) 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()