Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

COOK-2330: use String#upcase in celeryconfig.py.erb

I'm not sure how (or if) this ever worked before, as String#upper
doesn't seem to be a valid method.
  • Loading branch information...
commit b56e47566fce3e1ac3aeecc7f75704a3d26023a0 1 parent d560fa7
Cameron Johnston authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 templates/default/celeryconfig.py.erb
View
4 templates/default/celeryconfig.py.erb
@@ -2,12 +2,12 @@ BROKER_TRANSPORT = "<%= @broker[:transport] %>"
BROKER_HOST = "<%= @broker[:host] %>"
<% %w{port user password vhost}.each do |key| %>
<% if @broker[key] %>
-BROKER_<%= key.upper %> = "<%= @broker[key] %>"
+BROKER_<%= key.upcase %> = "<%= @broker[key] %>"
<% end %>
<% end %>
<% %w{pool_limit connection_timeout connection_retry connection_max_retries}.each do |key| %>
<% if @broker[key] %>
-BROKER_<%= key.upper %> = <%= @broker[key] %>
+BROKER_<%= key.upcase %> = <%= @broker[key] %>
<% end %>
<% end %>
<% if @broker[:use_ssl] %>
Please sign in to comment.
Something went wrong with that request. Please try again.