Skip to content

Commit

Permalink
Check Nomad group meta tags
Browse files Browse the repository at this point in the history
This was intended originally and included in the documentation, but missed in
the implementation.
  • Loading branch information
IamTheFij committed Jan 11, 2023
1 parent 463130b commit e7051f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/provider/nomad/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit e7051f2

Please sign in to comment.