summaryrefslogtreecommitdiff
path: root/app/services/prometheus/proxy_service.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-21 18:09:29 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-21 18:09:29 +0000
commit26010cd3206b73b408dd3bc7f10e6858e602e988 (patch)
treea16264a4628e828e1e82ad2ed6d790445ae5dfea /app/services/prometheus/proxy_service.rb
parentaf8723415a6ba5017bb56335ae294bcb4934b54b (diff)
downloadgitlab-ce-26010cd3206b73b408dd3bc7f10e6858e602e988.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/prometheus/proxy_service.rb')
-rw-r--r--app/services/prometheus/proxy_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/prometheus/proxy_service.rb b/app/services/prometheus/proxy_service.rb
index c1bafd03b48..33635796771 100644
--- a/app/services/prometheus/proxy_service.rb
+++ b/app/services/prometheus/proxy_service.rb
@@ -44,8 +44,8 @@ module Prometheus
def self.from_cache(proxyable_class_name, proxyable_id, method, path, params)
proxyable_class = begin
proxyable_class_name.constantize
- rescue NameError
- nil
+ rescue NameError
+ nil
end
return unless proxyable_class