diff options
author | Jacob Vosmaer (GitLab) <jacob@gitlab.com> | 2018-06-01 14:56:29 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-06-01 14:56:29 +0300 |
commit | edb9db37ede4aff12f06338e4fd8f30039cc8183 (patch) | |
tree | 460bbcce4dd97fea12de3dd609345912636eadb9 /lib/gitlab/health_checks | |
parent | cc5890f287b9dc5c117470d5b0925ba7f6d07485 (diff) |
Add "deny disk access" Gitaly feature (tripswitch)
Diffstat (limited to 'lib/gitlab/health_checks')
-rw-r--r-- | lib/gitlab/health_checks/fs_shards_check.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gitlab/health_checks/fs_shards_check.rb b/lib/gitlab/health_checks/fs_shards_check.rb index 6e554383270..fcbf266b80b 100644 --- a/lib/gitlab/health_checks/fs_shards_check.rb +++ b/lib/gitlab/health_checks/fs_shards_check.rb @@ -77,7 +77,9 @@ module Gitlab end def storage_path(storage_name) - storages_paths[storage_name]&.legacy_disk_path + Gitlab::GitalyClient::StorageSettings.allow_disk_access do + storages_paths[storage_name]&.legacy_disk_path + end end # All below test methods use shell commands to perform actions on storage volumes. |