Skip to content

Commit

Permalink
fix: corrected proxy metrics attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxd committed Feb 9, 2024
1 parent c987fe3 commit 96ebc5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powerdns_api_proxy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def dependency_metrics_proxy_enabled(
):
try:
environment = get_environment_for_token(load_config(), X_API_Key)
if not environment.proxy_metrics:
if not environment.metrics_proxy:
raise MetricsNotAllowedException()
except ValueError:
raise MetricsNotAllowedException()
Expand Down

0 comments on commit 96ebc5b

Please sign in to comment.