Check Nomad group meta tags

This was intended originally and included in the documentation, but missed in
the implementation.
This commit is contained in:
Ian Fijolek
2023-01-11 10:01:14 -08:00
parent 463130b67f
commit e7051f2e38

View File

@@ -66,6 +66,8 @@ func (c *Client) listTaskImages() []model.Image {
for _, taskGroup := range jobInfo.TaskGroups {
// Get task group service labels
groupLabels := map[string]string{}
groupLabels = updateMap(groupLabels, taskGroup.Meta)
for _, service := range taskGroup.Services {
groupLabels = updateMap(groupLabels, parseServiceTags(service.Tags))
}