mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 13:23:09 +01:00
Check Nomad group meta tags
This was intended originally and included in the documentation, but missed in the implementation.
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user