Show gitaly address instead of disk path

This commit is contained in:
Jacob Vosmaer 2018-03-23 13:01:40 +01:00
parent 49e871680c
commit 0189ee979c

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)