Skip to content

Commit 2be2795

Browse files
Fixes
1 parent 01027f5 commit 2be2795

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,21 @@ instances:
3636
<%- tags = instance['tags'].is_a?(Array) ? instance['tags'] : [] -%>
3737
<%- unless tags.empty? -%>
3838
tags:
39-
<%- tags.each do |tag| -%>
39+
<%- tags.each do |tag| -%>
4040
- <%= tag %>
41-
<%- end -%>
41+
<%- end -%>
4242
<%- end -%>
4343
<%- protocols = instance['tls_protocols_allowed'].is_a?(Array) ? instance['tls_protocols_allowed'] : [] -%>
4444
<%- unless protocols.empty? -%>
4545
tls_protocols_allowed:
46-
<%- protocols.each do |protocol| -%>
46+
<%- protocols.each do |protocol| -%>
4747
- <%= protocol %>
48-
<%- end -%>
4948
<%- end -%>
50-
49+
<%- end -%>
5150
<%- ciphers = instance['tls_ciphers'].is_a?(Array) ? instance['tls_ciphers'] : [] -%>
5251
<%- unless ciphers.empty? -%>
5352
tls_ciphers:
54-
<%- ciphers.each do |cipher| -%>
53+
<%- ciphers.each do |cipher| -%>
5554
- <%= cipher %>
56-
<%- end -%>
55+
<%- end -%>
5756
<%- end -%>

0 commit comments

Comments
 (0)