diff options
author | Rémy Coutable <remy@rymai.me> | 2017-07-05 11:54:37 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-07-05 11:54:37 +0000 |
commit | 519cc029c962278d4d25c9be98a24144d7196733 (patch) | |
tree | db45c360bffdc325b1206c5b9c57294c5145c4ae /lib | |
parent | c3c965a6e9d83e1b300f8af8082819523fa45562 (diff) | |
parent | 804b61eb7a33d439a55c8a155b7b19ae5d9d33f8 (diff) | |
download | gitlab-ce-519cc029c962278d4d25c9be98a24144d7196733.tar.gz |
Merge branch 'sh-fix-bad-rails-logger' into 'master'
Fix invalid Rails.logger call in lib/gitlab/health_checks/fs_shards_check.rb
See merge request !12641
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/health_checks/fs_shards_check.rb | 2 |
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 |