mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 03:38:43 +00:00
chore: fix build after prom-label-proxy bump
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
parent
92f590681e
commit
d7ecb439fa
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ func (l *Labeler) EnforceNamespaceLabel(rule *monitoringv1.PrometheusRule) error
|
|||
if err != nil {
|
||||
return fmt.Errorf("failed to parse promql expression: %w", err)
|
||||
}
|
||||
enforcer := injectproxy.NewEnforcer(false, &labels.Matcher{
|
||||
enforcer := injectproxy.NewPromQLEnforcer(false, &labels.Matcher{
|
||||
Name: l.enforcedNsLabel,
|
||||
Type: labels.MatchEqual,
|
||||
Value: rule.Namespace,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue