forked from SW/traefik
fix: consul catalog constraints.
This commit is contained in:
committed by
Traefiker Bot
parent
a99673122e
commit
cf1ace3a73
@@ -127,7 +127,7 @@ func (p *Provider) keepContainer(ctx context.Context, container dockerData) bool
|
||||
return false
|
||||
}
|
||||
|
||||
matches, err := constraints.Match(container.Labels, p.Constraints)
|
||||
matches, err := constraints.MatchLabels(container.Labels, p.Constraints)
|
||||
if err != nil {
|
||||
logger.Errorf("Error matching constraints expression: %v", err)
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user