1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

be consistent with names

This commit is contained in:
John Cavalieri 2015-11-06 15:24:57 -06:00
parent 331fc63838
commit d666ed6fd3
2 changed files with 2 additions and 2 deletions

View file

@ -246,7 +246,7 @@ module Sidekiq
"Sidekiq v#{Sidekiq::VERSION}"
end
def redis_url_and_namespace
def redis_connection_and_namespace
namespace_suffix = namespace.blank? ? '' : "##{namespace}"
"#{redis_connection}#{namespace_suffix}"
end

View file

@ -6,7 +6,7 @@
<p class="navbar-text" style="color:white;"><%= product_version %></p>
</li>
<li>
<p class="navbar-text redis-url" title="<%= redis_url_and_namespace %>"><%= redis_url_and_namespace %></p>
<p class="navbar-text redis-url" title="<%= redis_connection_and_namespace %>"><%= redis_connection_and_namespace %></p>
</li>
<li>
<p class="navbar-text"><%= Time.now.utc.strftime('%H:%M:%S UTC') %></p>