Skip to content

Commit

Permalink
HOTFIX: move from NewEnforcer to NewPromQLEnforcer
Browse files Browse the repository at this point in the history
  • Loading branch information
angelbarrera92 committed Sep 17, 2024
1 parent e2f3e49 commit 8121eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/prometheus-multi-tenant-proxy/reverse.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (r *ReversePrometheusRoundTripper) modifyRequest(req *http.Request, prometh
})
}

e := injector.NewEnforcer(false, labelMatchers...)
e := injector.NewPromQLEnforcer(false, labelMatchers...)

if err := req.ParseForm(); err != nil {
return err
Expand Down

0 comments on commit 8121eda

Please sign in to comment.