From 804b61eb7a33d439a55c8a155b7b19ae5d9d33f8 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Tue, 4 Jul 2017 23:22:59 -0700 Subject: Fix invalid Rails.logger call in lib/gitlab/health_checks/fs_shards_check.rb --- lib/gitlab/health_checks/fs_shards_check.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/gitlab/health_checks/fs_shards_check.rb b/lib/gitlab/health_checks/fs_shards_check.rb index e78b7f22e03..70da4080cae 100644 --- a/lib/gitlab/health_checks/fs_shards_check.rb +++ b/lib/gitlab/health_checks/fs_shards_check.rb @@ -52,7 +52,7 @@ module Gitlab ] end rescue RuntimeError => ex - Rails.logger("unexpected error #{ex} when checking #{ok_metric}") + Rails.logger.error("unexpected error #{ex} when checking #{ok_metric}") [metric(ok_metric, 0, **labels)] end -- cgit v1.2.1