Fix erb syntax for telegraf, SC-2522

This commit is contained in:
Patrik Holmqvist 2025-04-02 13:31:34 +02:00
parent bc13836c1e
commit 06b4b47947
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -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 %>