Commit 8ba3b6d4 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'bw-add-geo-console-message' into 'master'

Add Geo information to console message

See merge request gitlab-org/gitlab-ee!5588
parents 53d04fa3 954b8603
......@@ -6,5 +6,14 @@ if defined?(Rails::Console)
puts " Gitlab:".ljust(justify) + "#{Gitlab::VERSION} (#{Gitlab::REVISION})"
puts " Gitlab Shell:".ljust(justify) + Gitlab::Shell.new.version
puts " #{Gitlab::Database.adapter_name}:".ljust(justify) + Gitlab::Database.version
# EE-specific start
if Gitlab::Geo.enabled?
puts " Geo enabled:".ljust(justify) + 'yes'
puts " Geo server:".ljust(justify) + (Gitlab::Geo.primary? ? 'primary' : 'secondary')
end
# EE specific end
puts "-------------------------------------------------------------------------------------"
end
---
title: Add Geo information to console message
merge_request: 5588
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment