Skip to content

Commit 1412666

Browse files
authored
removes the prepending - for the optional params since they should not be there (DataDog#280)
1 parent 2648a4f commit 1412666

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

templates/agent-conf.d/ntp.yaml.erb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ init_config:
77
instances:
88
- offset_threshold: <%= @offset_threshold %>
99
<% if @host -%>
10-
- host: <%= @host %>
10+
host: <%= @host %>
1111
<% end -%>
1212
<% if @port -%>
13-
- port: <%= @port %>
13+
port: <%= @port %>
1414
<% end -%>
1515
<% if @version -%>
16-
- version: <%= @version %>
16+
version: <%= @version %>
1717
<% end -%>
1818
<% if @timeout -%>
19-
- timeout: <%= @timeout %>
19+
timeout: <%= @timeout %>
2020
<% end -%>
2121
# Optional params:
2222
#

0 commit comments

Comments
 (0)