Merge branch 'storage-dropdown' into 'master'

Show gitaly address instead of disk path

See merge request gitlab-org/gitlab-ce!17954
This commit is contained in:
Sean McGivern 2018-03-23 13:03:51 +00:00
commit 3cd95700d4
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ module ApplicationSettingsHelper
def repository_storages_options_for_select(selected)
options = Gitlab.config.repositories.storages.map do |name, storage|
["#{name} - #{storage.legacy_disk_path}", name]
["#{name} - #{storage['gitaly_address']}", name]
end
options_for_select(options, selected)