summaryrefslogtreecommitdiff
path: root/lib/gitlab/git/storage/health.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/git/storage/health.rb')
-rw-r--r--lib/gitlab/git/storage/health.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/storage/health.rb b/lib/gitlab/git/storage/health.rb
index 2d723147f4f..1564e94b7f7 100644
--- a/lib/gitlab/git/storage/health.rb
+++ b/lib/gitlab/git/storage/health.rb
@@ -78,7 +78,7 @@ module Gitlab
def failing_circuit_breakers
@failing_circuit_breakers ||= failing_on_hosts.map do |hostname|
- CircuitBreaker.new(storage_name, hostname)
+ CircuitBreaker.build(storage_name, hostname)
end
end