check id method name changed

This commit is contained in:
Alex Dadgar
2017-07-07 12:15:09 -07:00
parent 0129455876
commit 38e50eedb1

View File

@@ -620,7 +620,7 @@ func (c *ServiceClient) Checks(a *structs.Allocation) ([]*api.AgentCheck, error)
for _, service := range task.Services {
id := makeTaskServiceID(a.ID, task.Name, service)
for _, check := range service.Checks {
relevant[createCheckID(id, check)] = struct{}{}
relevant[makeCheckID(id, check)] = struct{}{}
}
}
}