Skip to content

Commit

Permalink
Fix white space
Browse files Browse the repository at this point in the history
* @miketheman also pointed out that indentation was incorrect
  • Loading branch information
flah00 committed Jan 22, 2014
1 parent 3aa1fc5 commit e01f96a
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions templates/default/jmx.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,40 @@ instances:
password: <%= i["password"] %>
<% if i.key?("include") || i.key?("exclude") -%>
conf:
<% i["include"].each do |c| -%>
- include:
<% if c.key?("domain") -%>
domain: <%= c["domain"] %>
<% i["include"].each do |c| -%>
- include:
<% if c.key?("domain") -%>
domain: <%= c["domain"] %>
<% end -%>
<% if c.key?("bean") -%>
bean: <%= c["bean"] %>
<% end -%>
<% if c.key?("attributes") -%>
attribute:
<% c["attributes"].each do |a| -%>
attribute<%= c["attributes"].index(a) %>:
metric_type: <%= a["metric_type"] %>
alias: <%= a["alias"] %>
<% end -%>
<% end -%>
<% end -%>
<% if c.key?("bean") -%>
bean: <%= c["bean"] %>
<% i["exclude"].each do |c| -%>
- exclude:
<% if c.key?("domain") -%>
domain: <%= c["domain"] %>
<% end -%>
<% if c.key?("bean") -%>
bean: <%= c["bean"] %>
<% end -%>
<% if c.key?("attributes") -%>
attribute:
<% c["attributes"].each do |a| -%>
attribute<%= c["attributes"].index(a) %>:
metric_type: <%= a["metric_type"] %>
alias: <%= a["alias"] %>
<% end -%>
<% end -%>
<% end -%>
<% if c.key?("attributes") -%>
attribute:
<% c["attributes"].each do |a| -%>
attribute<%= c["attributes"].index(a) %>:
metric_type: <%= a["metric_type"] %>
alias: <%= a["alias"] %>
<% end -%>
<% end -%>
<% end -%>
<% i["exclude"].each do |c| -%>
- exclude:
<% if c.key?("domain") -%>
domain: <%= c["domain"] %>
<% end -%>
<% if c.key?("bean") -%>
bean: <%= c["bean"] %>
<% end -%>
<% if c.key?("attributes") -%>
attribute:
<% c["attributes"].each do |a| -%>
attribute<%= c["attributes"].index(a) %>:
metric_type: <%= a["metric_type"] %>
alias: <%= a["alias"] %>
<% end -%>
<% end -%>
<% end -%>
<% end -%>
<% end -%>

Expand Down

0 comments on commit e01f96a

Please sign in to comment.