summaryrefslogtreecommitdiff
path: root/config/initializers
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-03-21 17:05:01 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-03-21 19:03:26 -0300
commita86f48c79b3d4b03279be0132e2a4eeadd5e22dc (patch)
tree4ae3fe1c55037d2b8502a7f2a495ab992b0a877d /config/initializers
parent134df14c1c327a53668eb5b6c1ece9fb33a00caa (diff)
downloadgitlab-ce-a86f48c79b3d4b03279be0132e2a4eeadd5e22dc.tar.gz
Add helper method to return a human-friendly name for database adapter
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/console_message.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/console_message.rb b/config/initializers/console_message.rb
index f7c26732e6d..05eb395028d 100644
--- a/config/initializers/console_message.rb
+++ b/config/initializers/console_message.rb
@@ -5,6 +5,6 @@ if defined?(Rails::Console)
puts "-------------------------------------------------------------------------------------"
puts " GitLab:".ljust(justify) + "#{Gitlab::VERSION} (#{Gitlab.revision})"
puts " GitLab Shell:".ljust(justify) + "#{Gitlab::VersionInfo.parse(Gitlab::Shell.new.version)}"
- puts " #{Gitlab::Database.adapter_name}:".ljust(justify) + Gitlab::Database.version
+ puts " #{Gitlab::Database.human_adapter_name}:".ljust(justify) + Gitlab::Database.version
puts "-------------------------------------------------------------------------------------"
end