fix(docker): wildcard labels not applying properly for YAML style values and alias without labels

This commit is contained in:
yusing
2025-06-13 23:02:25 +08:00
parent 880d66c75e
commit f8c57d930f
4 changed files with 113 additions and 27 deletions

View File

@@ -124,7 +124,7 @@ func (p *DockerProvider) routesFromContainerLabels(container *docker.Container)
errs := gperr.NewBuilder("label errors")
m, err := docker.ParseLabels(container.Labels)
m, err := docker.ParseLabels(container.Labels, container.Aliases...)
errs.Add(err)
for alias, entryMapAny := range m {