summaryrefslogtreecommitdiff
path: root/lib/gitlab/health_checks/fs_shards_check.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/health_checks/fs_shards_check.rb')
-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 afaa59b1018..6e554383270 100644
--- a/lib/gitlab/health_checks/fs_shards_check.rb
+++ b/lib/gitlab/health_checks/fs_shards_check.rb
@@ -77,7 +77,7 @@ module Gitlab
end
def storage_path(storage_name)
- storages_paths&.dig(storage_name, 'path')
+ storages_paths[storage_name]&.legacy_disk_path
end
# All below test methods use shell commands to perform actions on storage volumes.