Skip to content

Commit

Permalink
removes the prepending - for the optional params since they should no…
Browse files Browse the repository at this point in the history
…t be there (DataDog#280)
  • Loading branch information
truthbk committed Dec 19, 2016
1 parent 2648a4f commit 1412666
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/agent-conf.d/ntp.yaml.erb
Expand Up @@ -7,16 +7,16 @@ init_config:
instances:
- offset_threshold: <%= @offset_threshold %>
<% if @host -%>
- host: <%= @host %>
host: <%= @host %>
<% end -%>
<% if @port -%>
- port: <%= @port %>
port: <%= @port %>
<% end -%>
<% if @version -%>
- version: <%= @version %>
version: <%= @version %>
<% end -%>
<% if @timeout -%>
- timeout: <%= @timeout %>
timeout: <%= @timeout %>
<% end -%>
# Optional params:
#
Expand Down

0 comments on commit 1412666

Please sign in to comment.