diff options
author | Nick Thomas <nick@gitlab.com> | 2017-09-18 17:13:49 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-09-19 11:05:42 +0100 |
commit | b00aaeced7b5ab8926ae4633d4d8c3512d168589 (patch) | |
tree | 3d24dd2d082786edc52d098d9a214fe7ffb73f24 /lib | |
parent | 1f4911541d03a257c38a63c6aa36a1c7ca4c3b43 (diff) | |
download | gitlab-ce-b00aaeced7b5ab8926ae4633d4d8c3512d168589.tar.gz |
Fix the filesystem shard health check to check all configured shards
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 eef97f54962..a533d4364ef 100644 --- a/lib/gitlab/health_checks/fs_shards_check.rb +++ b/lib/gitlab/health_checks/fs_shards_check.rb @@ -58,7 +58,7 @@ module Gitlab end def repository_storages - @repository_storage ||= Gitlab::CurrentSettings.current_application_settings.repository_storages + @repository_storage ||= storages_paths.keys end def storages_paths |