Fix erb syntax for telegraf, SC-2522
This commit is contained in:
parent
bc13836c1e
commit
06b4b47947
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ services:
|
|||
- '<%= @service_dir %>:<%= @service_dir %>'
|
||||
- '/var/run/utmp:/var/run/utmp:ro'
|
||||
|
||||
<% if @ports != '' -%>
|
||||
<% if @ports != [] -%>
|
||||
ports:
|
||||
<% @ports.each do |port| -%>
|
||||
- <%= port %>
|
||||
|
|
Loading…
Add table
Reference in a new issue