Permalink
Browse files

Fix external tokens iteration

The `cloud_controller.yml.erb` needs to iterate over
`properties.external_service_tokens`.  This change
fixes a bug where it would ignore that property because
the `erb` syntax is wrong (assumes the property
dereferences to a hash but it doesn't).

Change-Id: I00ac0083144c1e2f36fb2e92f3c842a817383223
  • Loading branch information...
1 parent f69cdbb commit 407ac1431ec61843995c3d7fa066d62f661004b7 @dsyer dsyer committed Nov 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jobs/cloud_controller/templates/cloud_controller.yml.erb
@@ -165,7 +165,7 @@ builtin_services:
<% end %>
<% end %>
<% if properties.external_service_tokens %>
-<% properties.external_service_tokens.each do |name,token| %>
+<% properties.external_service_tokens.marshal_dump.each do |name,token| %>
<%= name %>:
token: <%= token %>
<% end %>

0 comments on commit 407ac14

Please sign in to comment.