Skip to content

Commit

Permalink
Fix properties to be nested under the batlight hash
Browse files Browse the repository at this point in the history
[#164503063](https://www.pivotaltracker.com/story/show/164503063)

Co-authored-by: James Myers <jmyers@pivotal.io>
  • Loading branch information
miguelverissimo and jfmyers9 committed Aug 22, 2019
1 parent e9d4d8f commit 3bdda07
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions templates/deployment.yml.erb
Expand Up @@ -24,15 +24,16 @@ instance_groups:
release: bat
<% if job == 'batlight' %>
properties:
<% if properties.batlight.fail %>
fail: <%= properties.batlight.fail %>
<% end %>
<% if properties.batlight.missing %>
missing: <%= properties.batlight.missing %>
<% end %>
<% if properties.batlight.drain_type %>
drain_type: <%= properties.batlight.drain_type %>
<% end %>
batlight:
<% if properties.batlight.fail %>
fail: <%= properties.batlight.fail %>
<% end %>
<% if properties.batlight.missing %>
missing: <%= properties.batlight.missing %>
<% end %>
<% if properties.batlight.drain_type %>
drain_type: <%= properties.batlight.drain_type %>
<% end %>
<% end %>
<% end %>
instances: <%= properties.instances %>
Expand Down

0 comments on commit 3bdda07

Please sign in to comment.