Skip to content
Snippets Groups Projects
Commit b00aaece authored by Nick Thomas's avatar Nick Thomas
Browse files

Fix the filesystem shard health check to check all configured shards

parent 1f491154
No related branches found
No related tags found
No related merge requests found
---
title: Fix the filesystem shard health check to check all configured shards
merge_request: 14341
author:
type: fixed
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -10,6 +10,7 @@ describe HealthController do
 
before do
allow(Settings.monitoring).to receive(:ip_whitelist).and_return([whitelisted_ip])
stub_storage_settings({}) # Hide the broken storage
stub_env('IN_MEMORY_APPLICATION_SETTINGS', 'false')
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment