mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 09:18:31 +02:00
fix(docker): wildcard labels not applying properly for YAML style values and alias without labels
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user