Commit 90be98aa authored by rpereira2's avatar rpereira2 Committed by Peter Leitzen

Remove no_proxy check in calculate_reactive_cache

- It is unlikely that we will stop supporting prometheus APIs that were
previously supported.
parent 8ffbd8e2
...@@ -55,7 +55,6 @@ module Prometheus ...@@ -55,7 +55,6 @@ module Prometheus
end end
def calculate_reactive_cache(prometheus_owner_class_name, prometheus_owner_id, method, path, params) def calculate_reactive_cache(prometheus_owner_class_name, prometheus_owner_id, method, path, params)
return cannot_proxy_response unless can_proxy?
return no_prometheus_response unless can_query? return no_prometheus_response unless can_query?
response = prometheus_client_wrapper.proxy(path, params) response = prometheus_client_wrapper.proxy(path, params)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment