summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerdar Dogruyol <dogruyolserdar@gmail.com>2018-01-15 14:03:39 +0300
committerSerdar Dogruyol <dogruyolserdar@gmail.com>2018-01-15 14:03:39 +0300
commitb2dcb553160613220734bfd748cba40fa3c07605 (patch)
tree6c9c0596ad9c18207df99fc26b69051077934558
parentad1c186ed386afab578668ccdc21cb02354c81bc (diff)
downloadgitlab-ce-b2dcb553160613220734bfd748cba40fa3c07605.tar.gz
Fix duplication in API::CircuitBreakers
-rw-r--r--lib/api/circuit_breakers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/circuit_breakers.rb b/lib/api/circuit_breakers.rb
index 598c76f6168..c13154dc0ec 100644
--- a/lib/api/circuit_breakers.rb
+++ b/lib/api/circuit_breakers.rb
@@ -17,11 +17,11 @@ module API
end
def storage_health
- @failing_storage_health ||= Gitlab::Git::Storage::Health.for_all_storages
+ @storage_health ||= Gitlab::Git::Storage::Health.for_all_storages
end
end
- desc 'Get all failing git storages' do
+ desc 'Get all git storages' do
detail 'This feature was introduced in GitLab 9.5'
success Entities::RepositoryStorageHealth
end