mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
Merge pull request #3845 from 42wim/tagfix
Fix service tags not added to health check. Part two
This commit is contained in:
commit
533f65b7a6
@ -1672,6 +1672,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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user