Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-07-05 09:22:59 +0300
committerStan Hu <stanhu@gmail.com>2017-07-05 09:22:59 +0300
commit804b61eb7a33d439a55c8a155b7b19ae5d9d33f8 (patch)
treea69134bd844fa41201011340e6cb696e198a0167 /lib/gitlab/health_checks
parent5af1fcd6f329858d757bab0d67cb50af6c820160 (diff)
Fix invalid Rails.logger call in lib/gitlab/health_checks/fs_shards_check.rb
Diffstat (limited to 'lib/gitlab/health_checks')
-rw-r--r--lib/gitlab/health_checks/fs_shards_check.rb2
1 files changed, 1 insertions, 1 deletions
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