mirror of
https://github.com/crazy-max/diun.git
synced 2025-03-17 21:02:39 +00: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:
parent
463130b67f
commit
e7051f2e38
1 changed files with 2 additions and 0 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue